Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
    
    
now I am getting ERROR: Error running 'GEM_HOME='/usr/lib/ruby/gems/1.8' GEM_PATH='/usr/lib/ruby/gems/1.8' gem install rails ', please read /home/herlamba/.rvm/log/gem.install.log –  EquinoX Aug 10 '11 at 17:07
    
looking at the log it says: You don't have write permissions into the /usr/lib/ruby/gems/1.8 directory –  EquinoX Aug 10 '11 at 17:24
    

1 Answer 1

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

gem install rails --no-ri --no-rdoc
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.