Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am trying to install rails 3.0.1 on ubuntu 10.10. I am getting this error towards the end when i execute this command sudo gem install rails --version 3.0.1

Installing ri documentation for rails-3.0.1...
File not found: lib

How can i resolve this issue? Thanks

share|improve this question
    
For people with this issue here is the entire solution which presents it in a structured way. toranbillups.com/blog/archive/2010/09/01/… –  rogerstone Feb 18 '11 at 5:40
add comment

1 Answer

up vote 1 down vote accepted

No need to specify version number if it is the latest in the repository, just using:

sudo gem install rails

should work.

If that's a no-go, try manually reinstalling RDoc:

sudo gem install rdoc-data
sudo rdoc-data --install
sudo gem rdoc --all --overwrite
share|improve this answer
    
Thanks.The first command didn't work out.I executed the commands to manually install rdoc and then used 'apt-get install rails' and then executed gem install rails. After this when i executed 'rails -v' Rails rails 3.0.4.(I guess this means rails is installed :) ) –  rogerstone Feb 18 '11 at 5:26
    
@roger thanks for the update, glad it worked for you :) –  John T Feb 18 '11 at 16:40
add comment

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.