X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/dd7ef37ec023646120358a0a6a7959a392b79f1c..ababece2cc0e5caf946242d097e80ae7c3dc877d:/config/preinitializer.rb?ds=sidebyside diff --git a/config/preinitializer.rb b/config/preinitializer.rb index 357e30218..1cc3f62c7 100644 --- a/config/preinitializer.rb +++ b/config/preinitializer.rb @@ -1,6 +1,6 @@ require 'yaml' -config = YAML.load_file("#{RAILS_ROOT}/config/application.yml") +config = YAML.load_file(File.expand_path("../application.yml", __FILE__)) env = ENV['RAILS_ENV'] || 'development' ENV.each do |key,value|