From b686b671913bddcfcc8b27ca3b0802c9228372a7 Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Fri, 8 Mar 2019 08:47:24 -0800 Subject: moves a require to the file that needs it --- railties/lib/rails.rb | 1 - railties/lib/rails/autoloaders.rb | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'railties/lib') diff --git a/railties/lib/rails.rb b/railties/lib/rails.rb index 663960bb77..1f533a8c04 100644 --- a/railties/lib/rails.rb +++ b/railties/lib/rails.rb @@ -6,7 +6,6 @@ require "pathname" require "active_support" require "active_support/dependencies/autoload" -require "active_support/dependencies/zeitwerk_integration" require "active_support/core_ext/kernel/reporting" require "active_support/core_ext/module/delegation" require "active_support/core_ext/array/extract_options" diff --git a/railties/lib/rails/autoloaders.rb b/railties/lib/rails/autoloaders.rb index 36444ef05e..1bd3f18a74 100644 --- a/railties/lib/rails/autoloaders.rb +++ b/railties/lib/rails/autoloaders.rb @@ -1,5 +1,7 @@ # frozen_string_literal: true +require "active_support/dependencies/zeitwerk_integration" + module Rails module Autoloaders # :nodoc: class << self -- cgit v1.2.3