Skip to content

Commit

Permalink
Load dotenv earlier.
Browse files Browse the repository at this point in the history
  • Loading branch information
stefansundin committed Jan 24, 2021
1 parent 24f75a3 commit f90e30a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions config/application.rb
Expand Up @@ -5,6 +5,7 @@

require "bundler/setup"
Bundler.require(:default, ENV["APP_ENV"])
Dotenv.overload

app_path = File.expand_path("..", __dir__)
Dir["#{app_path}/lib/**/*.rb"].sort.each { |f| require f }
Expand Down
3 changes: 0 additions & 3 deletions config/initializers/01-dotenv.rb

This file was deleted.

0 comments on commit f90e30a

Please sign in to comment.