Error installing cucumber: ERROR: Failed to build gem native extension.
Hello,
I am installing cucumber on my windows XP machine by using the command "gem install cucumber -v 0.10.0"
But gets the following error :
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing cucumber:
ERROR: Failed to build gem native extension.
C:/ruby/bin/ruby.exe extconf.rb
checking for re.h... no
creating Makefile
nmake
'nmake' is not recognized as an internal or external command,
operable program or batch file.
Gem files will remain installed in
C:/ruby/lib/ruby/gems/1.8/gems/json-1.5.1 for
inspection. Results logged to
C:/ruby/lib/ruby/gems/1.8/gems/json-1.5.1/ext/json/ext/generat
or/gem_make.out
Could you please me in resolving the issue.
I installed ruby 1.8.6, Ruby gems 1.3.7 and also dev kit (DevKit-3.4.5-20100819-1535-sfx)
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Luis Lavena on 03 Jun, 2011 01:39 PM
Hello,
help.rubygems.org is not a support group about gem installation. Is a support site to deal with specific issues of RubyGems website and service itself.
However, as maintainer of RubyInstaller, I can tell you you're using the incorrect version of Ruby, which seems to be old One-Click-Installer.
Saying this because 'nmake' is a tool present on Visual Studio and RubyInstaller do not depend on it.
Please ensure you've installed the right version of Ruby and you properly installed RubyInstaller DevKit.
http://rubyinstaller.org/downloads
https://github.com/oneclick/rubyinstaller/wiki/Development-Kit
For further support about this, please direct your questions to RubyInstaller group:
http://groups.google.com/group/rubyinstaller
Luis Lavena closed this discussion on 03 Jun, 2011 01:39 PM.