On 10/23/06, Wayne E. Seguin <[EMAIL PROTECTED]> wrote:
> On Oct 23, 2006, at 22:14 , Wilson Bilkovich wrote:
>
> > On 10/22/06, Wayne E. Seguin <[EMAIL PROTECTED]> 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.
_______________________________________________
Mongrel-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to