[Mongrel] Configuration Error?

Wilson Bilkovich wilsonb at gmail.com
Tue Oct 24 13:11:22 EDT 2006

On 10/23/06, Wayne E. Seguin <wayneeseguin at gmail.com> wrote:
> On Oct 23, 2006, at 22:14 , Wilson Bilkovich wrote:
> > On 10/22/06, Wayne E. Seguin <wayneeseguin at gmail.com> wrote:
> >> =====================================================================
> > Check your production.rb and/or environment.rb
> > Do you have a "config.observers =" line in there?
> > _______________________________________________
> Actually, yes I do.
> Why?

If you load observers during the 'config' process, and the code in
those observers requires the full Rails environment to be loaded, the
boot process will fail.
This is easier to do than it sounds, because you are often observing
ActiveRecord classes, and those will not have been loaded yet.

Your second stack trace looked a lot like the one you get when
encountering this problem.

More information about the Mongrel-users mailing list