From 5133ab791728f2b519278c376d89b8e539e827e4 Mon Sep 17 00:00:00 2001 From: Dan Barber Date: Thu, 29 Oct 2015 12:22:45 +0000 Subject: [PATCH] Remove exception notifier --- Gemfile | 1 - Gemfile.lock | 7 ------- config/application.rb | 5 ----- config/environments/production.rb | 2 +- 4 files changed, 1 insertion(+), 14 deletions(-) diff --git a/Gemfile b/Gemfile index 7398ce1..185ce46 100644 --- a/Gemfile +++ b/Gemfile @@ -56,7 +56,6 @@ gem 'administrate' gem 'cloudinary', github: 'cloudinary/cloudinary_gem' gem 'dragonfly' gem 'dragonfly-s3_data_store' -gem 'exception_notification', :git => 'git://github.com/rails/exception_notification', :require => 'exception_notifier' gem 'haml' gem 'kaminari' gem 'monban' diff --git a/Gemfile.lock b/Gemfile.lock index 4f388b8..148db88 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -6,12 +6,6 @@ GIT aws_cf_signer rest-client -GIT - remote: git://github.com/rails/exception_notification - revision: 192a49a02d63d28b23ed41cebadfedd490929cf1 - specs: - exception_notification (1.0.0) - GEM remote: http://rubygems.org/ specs: @@ -358,7 +352,6 @@ DEPENDENCIES dotenv-rails dragonfly dragonfly-s3_data_store - exception_notification! factory_girl_rails fivemat haml diff --git a/config/application.rb b/config/application.rb index 7d18e7f..baf2a21 100644 --- a/config/application.rb +++ b/config/application.rb @@ -60,11 +60,6 @@ module DanBarberPhoto if Rails.env.production? # Heartbeat config.middleware.insert_before 0, 'Heartbeat' - - # Rack Middleware - config.middleware.use ::ExceptionNotifier, :email_prefix => "[DanBarberPhoto] ", - :sender_address => %{"Exception Notification" }, - :exception_recipients => %w{dan@danbarberphoto.com} end end diff --git a/config/environments/production.rb b/config/environments/production.rb index c109528..20e9dd0 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -74,7 +74,7 @@ DanBarberPhoto::Application.configure do :domain => 'heroku.com' } ActionMailer::Base.delivery_method = :smtp - + config.action_mailer.default_url_options = { :host => "danbarberphoto.com" } end