Installing rails in vendor


Does a rails project automatically switch to using a “local” copy of
the rails libs if it exists in the vendor directory, or do I need to
tweak something else to pick it up?




I don’t know, but I do know that if you do:

rake freeze_edge

that Rails does use the vendor directory…


Hmm, ok. Hopefully it doesn’t install EdgeRails in the process. I just
want a localized copy of rails outside of the gem. Thanks.


It does install edgerails, but you see all the things it does. If you
read the log carefully, you’ll know if it modifies any files outside


I think he is looking for “rake freeze_gems” as he is not looking to run
edge rails, but rather lock in a specific version?



Yes, it’s covered on that page.


Yes. See


On Jan 13, 2006, at 1:08 PM, Theodore M. wrote:

You want this then:

$ rake freeze_gems

-Ezra Z.
Yakima Herald-Republic