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
I don''t know, but I do know that if you do: rake freeze_edge that Rails does use the vendor directory... -- Posted via http://www.ruby-forum.com/.
Hmm, ok. Hopefully it doesn''t install EdgeRails in the process. I just want a localized copy of rails outside of the gem. Thanks. On 1/13/06, Jules Jacobs <julesjacobs@gmail.com> wrote:> I don''t know, but I do know that if you do: > > rake freeze_edge > > that Rails does use the vendor directory... > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
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. -- Posted via http://www.ruby-forum.com/.
Yes. See http://wiki.rubyonrails.com/rails/pages/EdgeRails. -----Original Message----- From: rails-bounces@lists.rubyonrails.org [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Theodore Mills Sent: Friday, January 13, 2006 3:00 PM To: rails@lists.rubyonrails.org Subject: [Rails] 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? Thanks! -Theo _______________________________________________ Rails mailing list Rails@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails
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 Jim Hughes wrote:> Yes. See http://wiki.rubyonrails.com/rails/pages/EdgeRails. > > -----Original Message----- > From: rails-bounces@lists.rubyonrails.org > [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Theodore Mills > Sent: Friday, January 13, 2006 3:00 PM > To: rails@lists.rubyonrails.org > Subject: [Rails] 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? > > Thanks! > > -Theo > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > >
Yes, it''s covered on that page. -----Original Message----- From: rails-bounces@lists.rubyonrails.org [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Sean Stephens Sent: Friday, January 13, 2006 3:44 PM To: rails@lists.rubyonrails.org Subject: Re: [Rails] installing rails in vendor 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 Jim Hughes wrote:> Yes. See http://wiki.rubyonrails.com/rails/pages/EdgeRails. > > -----Original Message----- > From: rails-bounces@lists.rubyonrails.org > [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Theodore Mills > Sent: Friday, January 13, 2006 3:00 PM > To: rails@lists.rubyonrails.org > Subject: [Rails] 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? > > Thanks! > > -Theo > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > >_______________________________________________ Rails mailing list Rails@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails
On Jan 13, 2006, at 1:08 PM, Theodore Mills wrote:> Hmm, ok. Hopefully it doesn''t install EdgeRails in the process. I just > want a localized copy of rails outside of the gem. Thanks. > > > On 1/13/06, Jules Jacobs <julesjacobs@gmail.com> wrote: >> I don''t know, but I do know that if you do: >> >> rake freeze_edge >> >> that Rails does use the vendor directory... >> >> -- >> Posted via http://www.ruby-forum.com/. >> _______________________________________________ >> Rails mailing list >> Rails@lists.rubyonrails.org >> http://lists.rubyonrails.org/mailman/listinfo/rails >> > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >You want this then: $ rake freeze_gems Cheers- -Ezra Zygmuntowicz Yakima Herald-Republic WebMaster http://yakimaherald.com 509-577-7732 ezra@yakima-herald.com