Hi Chris. Here's a cleaned up working config.ru for Merb 1.1
http://gist.github.com/201443

     require 'gems/environment'
     require 'merb-core'

     Merb::Config.setup(:merb_root => ".",
                        :environment => ENV['RACK_ENV'])
     Merb.environment = Merb::Config[:environment]
     Merb.root = Merb::Config[:merb_root]
     Merb::BootLoader.run

     run Merb::Rack::Application.new


Pavel, does that look ok to you?

As per merb lighthouse #893, we're going to try to ship a default  
recommended config.ru in Merb 1.1 as part of merb-gen app (and also  
maybe merb-gen passenger). The one I pasted in seems works, but it  
probably could be cleaned up a bit further. Suggestions welcome!

Thanks


On Oct 4, 2009, at 7:11 AM, Pavel Kunc wrote:

>
> I don't use Passenger so I didn't tested the bundler changes on it.
> Does passenger needs to know something about the dependencies?
> Passenger should not care what are the app dependencies. Or I'm
> completely out?
>
> Pavel
>
> On Oct 3, 11:21 am, Chris Hoeppner <[email protected]> wrote:
>> Chris Hoeppner escribió:> Jacques Crocker escribió:
>>>> Thanks to the efforts of Pavel (github.com/pk
>>>> <http://github.com/pk>), you can now use Merb with Carl & Yehuda's
>>>> awesome new gem bundler (github.com/wycats/bundler
>>>> <http://github.com/wycats/bundler>). If you're working on a merb  
>>>> app,
>>>> I would highly recommend trying this out and if it works ok,  
>>>> ditching
>>>> the old thor tasks.
>>> I've not yet tried myself, but how does this play with Phusion
>>> Passenger? Any sort of changes to deploy a bundled app?
>>
>> After tinkering a bit, it seems like I have to let passenger know  
>> about
>> the gemfile somehow, so that it loads all dependencies. What is the
>> preferred way to achieve this?
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to