Ruby(RoR) Tip7: Installing Rails3 : File not found: lib

Balaji D Loganathan

12 sec read

If you are facing the below error while installing Rails3 on Windows or Linux

C:\Users\username>gem install rails --pre
Successfully installed rails-3.0.0.rc2
1 gem installed
Installing ri documentation for rails-3.0.0.rc2...
File not found: lib

then simply create the “lib” directory at \lib\ruby\gems\1.8\gems\rails-3.0.0.rc2\ folder.
Thats it. It should work. Thanks to Stefan

Related posts:

3 Replies to “Ruby(RoR) Tip7: Installing Rails3 : File not found: lib”

  1. I tried creating the “lib” folder, but every time I try running the rails install it overrides the folder and deletes the newly created “lib” folder. Any suggestions?
    RThanks!
    Jovid

Leave a Reply

Your email address will not be published. Required fields are marked *