Dotenv-rails should be defined a the very top of the gemfile

This commit is contained in:
Mathieu Magnin 2018-03-09 10:00:11 +01:00 committed by Paul Chavard
parent be2c75d3c0
commit 20a3f86729
2 changed files with 4 additions and 2 deletions

View file

@ -6,6 +6,8 @@ require 'rails/all'
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)
Dotenv::Railtie.load
module TPS
class Application < Rails::Application
# Settings in config/environments/* take precedence over those specified here.