]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/config.rb
Merge branch 'master' into feature/add-communities-page
[rails.git] / config / initializers / config.rb
index e51281e11e034499b26e9ccba6b2bb795ee3456d..7fc48863567b022fe8ac31d726b9ca47e811d9f9 100644 (file)
@@ -2,7 +2,7 @@
 # Otherwise, admins might not be aware that they are now silently ignored
 # and major problems could occur
 # rubocop:disable Rails/Output, Rails/Exit
-if File.exist?(Rails.root.join("config/application.yml"))
+if Rails.root.join("config/application.yml").exist?
   puts "The config/application.yml file is no longer supported."
   puts ""
   puts "Default settings are now found in config/settings.yml and you"