On Dec 4, 4:26 pm, Jeremy Evans <[EMAIL PROTECTED]> wrote:
> I'm trying to get a Merb very_flat app to work in the root of a Rails
> app.  It's been a pain and required overriding an internal method, but
> I've finally got it somewhat working.  I think the problem is that
> Merb is overriding the configuration given to Merb::Config inside
> Merb.start.

I think I've found the problem:

/usr/local/lib/ruby/gems/1.8/gems/merb-core-1.0.3/lib/merb-core.rb
    591     def load_config(options = {})
    592       Merb::Config.setup(Merb::Config.defaults.merge(options))
    593       Merb::BootLoader::Logger.run
    594     end

/usr/local/lib/ruby/gems/1.8/gems/merb-core-1.0.3/lib/merb-core/
config.rb
    153       def setup(settings = {})
    154         config = defaults.merge(settings)
    155

The patch should be obvious.  Should I fork merb and send in a pull
request, or can one of you devs take care of it?

Jeremy
--~--~---------~--~----~------------~-------~--~----~
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