diff options
| author | mo k <m@mokhan.ca> | 2012-01-14 15:56:45 -0700 |
|---|---|---|
| committer | mo k <m@mokhan.ca> | 2012-01-14 15:56:45 -0700 |
| commit | 3c51c0e3f7c5ea36cffa7bc2e165e961a11ff71a (patch) | |
| tree | ecb679128b676cb79fec06e3e74ac9ce995e516d | |
| parent | 30d488955234bc0d6527c069eb87cb459cb03a0d (diff) | |
install exception_notifier gem.
| -rw-r--r-- | Gemfile | 1 | ||||
| -rw-r--r-- | Gemfile.lock | 3 | ||||
| -rw-r--r-- | config.ru | 4 |
3 files changed, 8 insertions, 0 deletions
@@ -14,6 +14,7 @@ gem 'fog' gem 'kaminari' gem 'capistrano' gem 'capistrano-ext' +gem 'exception_notification' group :development, :test do gem 'webrat' diff --git a/Gemfile.lock b/Gemfile.lock index b67bb487..05a1b866 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -71,6 +71,8 @@ GEM eventmachine (>= 0.12.9) erubis (2.7.0) eventmachine (0.12.10) + exception_notification (2.5.2) + actionmailer (>= 3.0.4) excon (0.7.6) execjs (1.2.9) multi_json (~> 1.0) @@ -235,6 +237,7 @@ DEPENDENCIES carrierwave coffee-rails devise + exception_notification factory_girl_rails fog growl @@ -2,3 +2,7 @@ require ::File.expand_path('../config/environment', __FILE__) run Cake::Application +Cake::Application.config.middleware.use ExceptionNotifier, + :email_prefix => "[Cake] ", + :sender_address => %{"notifier" <noreply@cakeside.com>}, + :exception_recipients => %w{cakeside+bugs@mokhan.ca} |
