ensl.org/config/environment.rb
Luke Barratt cd5520b948 Silence deprecation warning in production
Fix rbenv not being able to export to upstart via foreman
2014-03-23 04:13:19 +00:00

10 lines
273 B
Ruby

require File.expand_path('../application', __FILE__)
require 'dotenv'
require 'verification'
require 'exceptions'
require 'extra'
Dotenv.load
ActiveSupport::Deprecation.silenced = true if ['staging', 'production'].include?(ENV['RAILS_ENV'])
Ensl::Application.initialize!