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

September 08, 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

4 Comments. Leave new


Thanks..Works like a champ…

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?


its works buddy

[Ruby] gem install rails 설치시 “File not found: lib” 에러가 날 때 | Cosmic
March 14, 2013 5:54 AM

Leave a Reply

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

%d bloggers like this: