Installing rails in vendor


#1

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?

Thanks!

-Theo


#2

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

rake freeze_edge

that Rails does use the vendor directory…


#3

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


#4

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
vendor.


#5

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?

-Sean


#6

Yes, it’s covered on that page.


#7

Yes. See http://wiki.rubyonrails.com/rails/pages/EdgeRails.


#8

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

http://lists.rubyonrails.org/mailman/listinfo/rails

You want this then:

$ rake freeze_gems

Cheers-
-Ezra Z.
Yakima Herald-Republic
WebMaster
http://yakimaherald.com
509-577-7732
removed_email_address@domain.invalid