issue with installing rails using rubygem

I tried doing the following:

sudo gem install rails

and I always get the error message:

Successfully installed rails-3.0.9
1 gem installed
Installing ri documentation for rails-3.0.9...
file 'lib' not found
Installing RDoc documentation for rails-3.0.9...
file 'lib' not found

How do I fix this?

Answer

This was an issue with documentation, the gem itself was installed properly, to avoid reporting error use:

gem install rails --no-ri --no-rdoc

Attribution
Source : Link , Question Author : EquinoX , Answer Author : mpapis

Leave a Comment