Commit 3c51c0e3

mo k <m@mokhan.ca>
2012-01-14 22:56:45
install exception_notifier gem.
1 parent 30d4889
config.ru
@@ -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}
Gemfile
@@ -14,6 +14,7 @@ gem 'fog'
 gem 'kaminari'
 gem 'capistrano'
 gem 'capistrano-ext'
+gem 'exception_notification'
 
 group :development, :test do
   gem 'webrat'
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