rubyruby-on-rails-4railsinstaller-windows

The 'puma' native gem requires installed build tools


I have got this error when running bundle install

Gem::InstallError: The 'puma' native gem requires installed build tools.

Please update your PATH to include build tools or download the DevKit
from 'http://rubyinstaller.org/downloads' and follow the instructions
at 'http://github.com/oneclick/rubyinstaller/wiki/Development-Kit'

I'm using RailsInstaller which already has DevKit.

I didn't have this problem before but I seem to get it after I changes the ruby version from 2.2.4 to 2.2.5. I'm using a windows computer. Any idea how to solve this issue?


Solution

  • I solved the problem by following these instruction:

    It should look like this:

    # Example:
    #
    # ---
    # - C:/ruby19trunk
    # - C:/ruby192dev
    #
    ---
    - C:\Ruby22