Installing Gem requires creating tools when installing cucumber on Windows
I've installed ruby โโ2 and ruby.devkit 4.5.2 using chocolate nuget on Windows 8.1.
I installed devkit and ran ruby dk.rb init
andruby dk.rb install
I am trying to gem install cucumber (either with gemfile / bundle or directly on the command line) and get the error "The gherkin native stone requires build tools installed."
C:> ruby โโ--version ruby โโ2.0.0p481 (2014-05-08) [x64-mingw32]
C:> gem List gherkin -r
* REMOTE GEMS *
aslahlelshoy-zherkin (1.2.3) benhamill-gherkin (2.3.5) bryanl-gherkin (2.11.1.1 ruby โโjava) gherkin (2.12.2 ruby โโjava x86-mingw32 x86-mswin32, 2.6.5 universal-dotnet , 2.2.4 i386-mingw32 i386-mswin32, 1.0.1 univer sal-java-1.5) gherkin-ruby (0.3.2) gherkin_generator (1.0.4) gherkin_jruby (0.3.1) rspec-gherkin (0.1.2)
C:> installing gherkin gem ERROR: Error installing gherkin: The custom gherkin gem requires the build tools installed.
Update your PATH to include build tools or download DevKit from ' http://rubyinstaller.org/downloads ' and follow the instructions at ' http://github.com/oneclick/rubyinstaller/wiki/Development-Kit '
Confusingly, if I type bundle show cucumber
, I get an error:
Could not find gem "cucumber". Did you mean cucumber
one thing I noticed here is that the ruby โโversion says x64-mingw32 and gherkin gem instead of x86-mingw32.
This is problem? Or is there any other way to make this setup work?
source to share
No one has answered this question yet
Check out similar questions: