X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f07819d81a7437e58c6e64c2e76ba7e54fad9034..1c5db113e215892ecff6090c571ffa1c4b9737db:/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|