Skip to content

Commit 3320958

Browse files
committed
Bad merge.
1 parent 24508fe commit 3320958

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lib/jammit.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,7 @@ def self.load_configuration(config_path, soft=false)
7272
conf = YAML.load(ERB.new(File.read(config_path)).result)
7373

7474
# Optionally overwrite configuration based on the environment.
75-
rails_env = defined?(Rails) ? Rails.env : ENV['RAILS_ENV']
76-
conf.merge! conf.delete rails_env if conf.has_key? rails_env
75+
conf.merge! conf.delete RAILS_ENV if conf.has_key? RAILS_ENV
7776

7877
@config_path = config_path
7978
@configuration = symbolize_keys(conf)

0 commit comments

Comments
 (0)