Skip to content
Permalink
Browse files

Merge pull request #391 from voltechs/master

Fixes load order issue.
  • Loading branch information...
cadwallion committed Jun 15, 2019
2 parents 00e14aa + e9e7ae2 commit a3d287c2721e77134d6314eef5b401438ff37314
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/dotenv/rails.rb
@@ -51,8 +51,6 @@ def self.load
instance.load
end

config.before_configuration { load }

private

def dotenv_files
@@ -63,5 +61,7 @@ def dotenv_files
root.join(".env")
].compact
end

config.before_configuration { load }
end
end

0 comments on commit a3d287c

Please sign in to comment.
You can’t perform that action at this time.