or in general how to put gems there? I have a patch to apply to "rack/ methodoverride.rb" but I can''t find it... how can I copy rack in vendor and not modify the system wide file? the rake gems:unpack or install don''t work... thanks
On Thu, Sep 17, 2009 at 11:42 AM, Snaggy <l.cioria-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> or in general how to put gems there? I have a patch to apply to "rack/ > methodoverride.rb" but I can''t find it... > how can I copy rack in vendor and not modify the system wide file? > the rake gems:unpack or install don''t work...? it should, but regardless -- just copy the gem''s directory into your application''s vendor/gems directory. -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org twitter: @hassan
rake gems:unpack:dependencies is the best option here! It ensures all of the dependent gems are also installed. Rack is loaded before the vendor gems are loaded though so if you''re trying to run a rails app in an environment that doesn''t have Rack 1.0 installed you''re going to have issues. Do you have the option to install gems on the server? Gavin http://handyrailstips.com On Sep 17, 2:42 pm, Snaggy <l.cio...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> or in general how to put gems there? I have a patch to apply to "rack/ > methodoverride.rb" but I can''t find it... > how can I copy rack in vendor and not modify the system wide file? > the rake gems:unpack or install don''t work... > thanks
the point is that I wanted to patch rack. I have it installed on the server but can''t edit it of course! thanks On Sep 18, 9:34 am, Gavin <ga...-YMj/zd8x6QpKMzDMP321V2ksYUyLi9NM@public.gmane.org> wrote:> rake gems:unpack:dependencies is the best option here! It ensures all > of the dependent gems are also installed. > > Rack is loaded before the vendor gems are loaded though so if you''re > trying to run a rails app in an environment that doesn''t have Rack 1.0 > installed you''re going to have issues. > > Do you have the option to install gems on the server? > > Gavin > > http://handyrailstips.com > > On Sep 17, 2:42 pm, Snaggy <l.cio...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > or in general how to put gems there? I have a patch to apply to "rack/ > > methodoverride.rb" but I can''t find it... > > how can I copy rack in vendor and not modify the system wide file? > > the rake gems:unpack or install don''t work... > > thanks