From bb3d80bbbe0603e9f9689a96c7ce86682053b4dd Mon Sep 17 00:00:00 2001 From: Olle Jonsson Date: Mon, 16 Mar 2020 07:36:41 +0100 Subject: [rubygems/rubygems] Autoload name_tuple.rb before use MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Resolver asked Molinillo to resolve-then-activate, which led to using Gem::NameTuple before any require had been passed Co-authored-by: David Rodríguez https://github.com/rubygems/rubygems/commit/e11782b0c8 --- lib/rubygems.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/rubygems.rb') diff --git a/lib/rubygems.rb b/lib/rubygems.rb index bf9e92c546..9c074a375f 100644 --- a/lib/rubygems.rb +++ b/lib/rubygems.rb @@ -1307,6 +1307,7 @@ An Array (#{env.inspect}) was passed in from #{caller[3]} autoload :DependencyList, File.expand_path('rubygems/dependency_list', __dir__) autoload :Installer, File.expand_path('rubygems/installer', __dir__) autoload :Licenses, File.expand_path('rubygems/util/licenses', __dir__) + autoload :NameTuple, File.expand_path('rubygems/name_tuple', __dir__) autoload :PathSupport, File.expand_path('rubygems/path_support', __dir__) autoload :Platform, File.expand_path('rubygems/platform', __dir__) autoload :RequestSet, File.expand_path('rubygems/request_set', __dir__) -- cgit v1.2.3