Skip to content

Commit ffab349

Browse files
committedJul 4, 2016
Improve env file load
1 parent c66fcaf commit ffab349

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎config/application.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
require_relative 'boot'
22
Bundler.require :default
33
require 'goliath'
4-
if Goliath.env?('development')
4+
if File.exist?('.env')
55
require 'dotenv'
66
Dotenv.load!
77
end

0 commit comments

Comments
 (0)
Please sign in to comment.