Posted by Balaji D Loganathan on September 8th, 2010

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

pixelstats trackingpixel Tags: ,
Unique Views: 4985 Total views: 5951
Follow responses at RSS 2.0. Leave a response | Trackback.

2 Responses to “Ruby(RoR) Tip7: Installing Rails3 : File not found: lib”

  1. jens says:

    Dude,

    Thanks..Works like a champ…

  2. Jovid says:

    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