X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/dd7ef37ec023646120358a0a6a7959a392b79f1c..2d2b6d7ed8826d3034f5224ece94aa5f0f1b0e6a:/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|