I added the block form of dependency to handle this case :)
-- Yehuda

On Fri, Oct 10, 2008 at 4:37 AM, Michael Klishin <
[EMAIL PROTECTED]> wrote:

>
> 2008/10/10 John Bresnik <[EMAIL PROTECTED]>:
> > Got this in my init.rb
> >
> > dependency "merb-mailer"        # Integrates mail support via Merb Mailer
> >
> > Merb::Mailer.config = {
> >   :host   => 'localhost',
> >   :port   => '25',
> >   :domain => "john.local"
> > }
> >
> > But got this:
> >
> > uninitialized constant Merb::Mailer (NameError)
>
> Move config code into after_app_loads hook.
> --
> MK
>
> >
>


-- 
Yehuda Katz
Developer | Engine Yard
(ph) 718.877.1325

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