diff options
-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! |