I'm trying to get this up and running, but I see "uninitialized constant ExceptionNotifier" whenever I start my server.
http://github.com/rails/exception_notification
In my Gemfile I have
gem "exception_notification", :git => "http://github.com/rails/exception_notification.git", :branch => "master"
I've tried putting the configuration as shown in the github readme inside of config/application.rb, config/environment.rb, and config.ru. I replaced "Whatever" with my application name.
All previous answers are outdated, you can now simply add this to your gemfile:
gem 'exception_notification', :require => 'exception_notifier'
And edit your production.rb config file as indicated in the readme:
config.middleware.use ExceptionNotifier,
:email_prefix => "[Exception] ",
:sender_address => %{"Exception Notifier" <[email protected]>},
:exception_recipients => %w{[email protected]}