Commit e3693641128f200ca6609b05df7065ad9f0e7302
1 parent
fe715b13
Exists in
staging
and in
3 other branches
environment: fix config.local.rb load
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
config/environment.rb
... | ... | @@ -3,7 +3,7 @@ require_relative 'application' |
3 | 3 | Noosfero::Application.initialize! |
4 | 4 | |
5 | 5 | # load a local configuration if present, but not under test environment. |
6 | -if ENV['RAILS_ENV'].in? %w[test cucumber] | |
6 | +unless ENV['RAILS_ENV'].in? %w[test cucumber] | |
7 | 7 | localconfigfile = Rails.root.join('config', 'local.rb') |
8 | 8 | require localconfigfile if File.exists? localconfigfile |
9 | 9 | end | ... | ... |