Ruby Gem Install question + answer(on windows vista Home Basic environment)
- by Vamsi
Recently I am having problems with installing rcov gem on my windows (vista Home Basic environment), so after googling I found one solution and that is
gem install rcov -v 0.8.1.1.0 #version that installs without errors
gem update rcov #update to the latest version, in my case rcov-0.8.1.2.0-x86-mswin32
But this solution didn't worked on my colleague's system (windows xp) and after that we came to know about RubyInstaller devkit for winddows
But that dev kit is not working on my vista, when I tried gem install rcov in my command prompt, it game me this error,
C:\Users\Vamsi>gem install rcov
Building native extensions. This could take a while...
ERROR: Error installing rcov:
ERROR: Failed to build gem native extension.ERROR: Failed to build gem native
extension.
D:/Spritle/Programs/Ruby/bin/ruby.exe extconf.rb
creating Makefile
nmake
'nmake' is not recognized as an internal or external command,
operable program or batch file.
Gem files will remain installed in D:/Spritle/Programs/Ruby/lib/ruby/gems/1.8/ge
ms/rcov-0.9.8 for inspection.
Results logged to D:/Spritle/Programs/Ruby/lib/ruby/gems/1.8/gems/rcov-0.9.8/ext
/rcovrt/gem_make.out
So after that my colleague tried to install nmake as well but it was throwing some other error.
Can some one suggest a better solution for solving this problems for all windows environments? I am aware of cygwin for windows but I am not sure that is an 100% solution either.