I am trying to run bundle install and I get the following error message (screenshots attached):
Gem::InstallError: The 'nio4r' 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'
An error occurred while installing nio4r (1.2.1), and Bundler cannot continue.
Make sure that `gem install nio4r -v '1.2.1'` succeeds before bundling.
So then, I run gem install nio4r -v '1.2.1' and it installs perfectly as the screenshot below.


Somehow or another you're interacting with two different installations of Ruby and the on later in the
PATHhas Bundler installed.Once you install the Devkit the
must install Devkitmessage is completely removed from the installation.Try running
where.exe bundleto see where the Bundler executables are at, then runwhere.exe gemto see where your RubyGem executables are and compare.If you have two different
gemexecutable locations then you probably could just usegem install bundlerto quickly fix the problem.