[Rails-core] Re: Rack freezing

2009-07-27 Thread Will Bryant
On Fri, Jul 24, 2009 at 8:18 PM, Hongli Lai wrote: > > On Jul 24, 10:16 am, Hongli Lai wrote: >> You are right, it doesn't work at this time. But I can make it work. > > With this I mean that Phusion Passenger vendors Rack as well in order > to work around broken applications. With a few tricks I

[Rails-core] Re: Rack freezing

2009-07-24 Thread Hongli Lai
On Jul 24, 10:16 am, Hongli Lai wrote: > You are right, it doesn't work at this time. But I can make it work. With this I mean that Phusion Passenger vendors Rack as well in order to work around broken applications. With a few tricks I can remove this vendoring while still retaining compatibilit

[Rails-core] Re: Rack freezing

2009-07-24 Thread Hongli Lai
On Jul 22, 8:42 pm, Matt Jones wrote: > I don't think that vendoring Rack will even *work* on Passenger - I   > haven't tried it, but a casual reading of the FrameworkSpawner code   > shows that it loads the Rails gem (in preload_rails). With 2.3.3, this   > will blow up unless Rack is installed

[Rails-core] Re: Rack freezing

2009-07-22 Thread Will Bryant
On Thu, Jul 23, 2009 at 11:31 AM, Will Bryant wrote: > On Thu, Jul 23, 2009 at 6:42 AM, Matt Jones wrote: >> I don't think that vendoring Rack will even *work* on Passenger - I >> haven't tried it, but a casual reading of the FrameworkSpawner code >> shows that it loads the Rails gem (in preload_r

[Rails-core] Re: Rack freezing

2009-07-22 Thread Will Bryant
On Thu, Jul 23, 2009 at 6:42 AM, Matt Jones wrote: > I don't think that vendoring Rack will even *work* on Passenger - I > haven't tried it, but a casual reading of the FrameworkSpawner code > shows that it loads the Rails gem (in preload_rails). With 2.3.3, this > will blow up unless Rack is inst

[Rails-core] Re: Rack freezing

2009-07-22 Thread Matt Jones
On Jul 22, 2009, at 3:59 AM, Hongli Lai wrote: > Rails uses a lot of Rack functionality, so I think vendoring it makes > sense. Phusion Passenger tries very very hard to be compatible with > everything so it shouldn't be necessary to vendor it. On the other > hand, I'm not sure whether Rack provi

[Rails-core] Re: Rack freezing

2009-07-22 Thread Hongli Lai
On Jul 22, 4:26 am, Matt Jones wrote: > The situation for Rack is a little weird. Here's what I observed: > > - when running Rails from installed gems, the call to load_rails_gem   > will blow up unless Rack is installed. The code to set things up for   > vendor/gems isn't even loaded for this pa

[Rails-core] Re: Rack freezing

2009-07-21 Thread Matt Jones
The situation for Rack is a little weird. Here's what I observed: - when running Rails from installed gems, the call to load_rails_gem will blow up unless Rack is installed. The code to set things up for vendor/gems isn't even loaded for this part, so this will *always* require Rack to be i