From 7ba8ac2b61023489a2b9069dbbb685f74e278426 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Fri, 27 Oct 2023 17:25:50 +0100 Subject: [PATCH] Stop adding autoloaded paths to $LOAD_PATH --- config/initializers/new_framework_defaults_7_1.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/new_framework_defaults_7_1.rb b/config/initializers/new_framework_defaults_7_1.rb index 6837ef861..700aefeda 100644 --- a/config/initializers/new_framework_defaults_7_1.rb +++ b/config/initializers/new_framework_defaults_7_1.rb @@ -13,7 +13,7 @@ # to manually require files that are managed by the autoloader, which you shouldn't do anyway. # This will reduce the size of the load path, making `require` faster if you don't use bootsnap, or reduce the size # of the bootsnap cache if you use it. -# Rails.application.config.add_autoload_paths_to_load_path = false +Rails.application.config.add_autoload_paths_to_load_path = false # Remove the default X-Download-Options headers since it is used only by Internet Explorer. # If you need to support Internet Explorer, add back `"X-Download-Options" => "noopen"`. -- 2.39.5