diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-11-12 15:23:30 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-11-12 15:23:30 +0000 |
commit | 084cc9574c254cc0af2de4cd615fa99a5be8bc83 (patch) | |
tree | 33120b867d7b9763e1958e06229ad8fa241f56f7 | |
parent | 08224e154953ae105341e36371ca7f7a42079068 (diff) |
Silence deprecation warnings.
The remaining deprecation warnings are for the plugins, and they
interfere with incoming mail handling by producing output on stderr.
-rw-r--r-- | Rakefile | 1 | ||||
-rw-r--r-- | config/environment.rb | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -2,6 +2,7 @@ # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. require File.expand_path('../config/application', __FILE__) +ActiveSupport::Deprecation.silenced = true require 'rake' Alaveteli::Application.load_tasks if Rails.env == 'test' diff --git a/config/environment.rb b/config/environment.rb index 196680b23..05f25a29e 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -1,5 +1,7 @@ + # Load the rails application require File.expand_path('../application', __FILE__) +ActiveSupport::Deprecation.silenced = true # Initialize the rails application Alaveteli::Application.initialize! |