0

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

1

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
  • 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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