We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb280e6 commit 81a4e89Copy full SHA for 81a4e89
1 file changed
lib/config/integrations/rails/railtie.rb
@@ -7,6 +7,8 @@ def preload
7
initializer = ::Rails.root.join('config', 'initializers', 'config.rb')
8
require initializer if File.exist?(initializer)
9
10
+ return if Object.const_defined?(Config.const_name)
11
+
12
# Parse the settings before any of the initializers
13
Config.load_and_set_settings(
14
Config.setting_files(::Rails.root.join('config'), Config.environment.nil? ? ::Rails.env : Config.environment.to_sym)
0 commit comments