Plugin class seen from environment.rb but not production

Wes Gamble wrote:

I never figured this out, Mike, sorry.

Put this in the specific environment file as follows:

config.after_initialize do
  ExceptionNotifier.exception_recipients = #...

When the environment files are being loaded, you can't assume that the
Rails environment (including plugins) has been fully loaded, thus the
config.after_initialize feature.

Brian Hartin