I am new to ruby. I have installed Ruby on Rails on my XP but its failing on the last step of updating rails.
When I type: gem update
I get the following message:
Updating installed gems
Building native extensions. This could take a while...
ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.
C:/InstantRails-2.0-win/ruby/bin/ruby.exe extconf.rb update
checking for stdio.h... no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Gem files will remain installed in C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.
8/gems/hpricot-0.6.161 for inspection.
Results logged to C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/hpricot-0.
Shall I unstall the entire thing and run it again? If so is there a procedure for this?
If you reinstall, I would strongly advise that you do not use InstantRails. InstandRails is fine if you just want a quick look at Rails, but isn't so great for more long term use. Also Rails is very easy to install on XP without using InstantRails.