diff --git a/config/environment.rb b/config/environment.rb index 47f09ef..d4c6d96 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -95,3 +95,9 @@ require 'acts_as_having_boxes' require 'acts_as_having_settings' require 'hacked_after_create' +# load a local configuration if present +lambda do |localconfig| + if File.exists?(localconfig) + require localconfig + end +end.call(File.join(RAILS_ROOT, 'config', 'local.rb')) -- libgit2 0.21.2