summaryrefslogtreecommitdiff
path: root/lib/rubygems/gem_runner.rb
diff options
context:
space:
mode:
authorKarol Bucek <[email protected]>2020-06-22 23:15:45 +0200
committerHiroshi SHIBATA <[email protected]>2020-07-31 21:07:19 +0900
commite7b6e0ff5823c422cd3e508d2b7104a91a2e36f6 (patch)
tree7fa2e7037eeaee1a7fc79225c61fecbbc2fd4b35 /lib/rubygems/gem_runner.rb
parentc3b480b7764e7854b42c212e77a0ffe402dba6cb (diff)
[rubygems/rubygems] remove explicit require(s) for auto-loaded constant(s)
the Gem module's auto-loads will handle loading these as needed, this started as a redundancy found in *rubygems.rb* which had: `autoload :Specification, 'rubygems/specification'` as well as `require 'rubygems/specification'` https://github.com/rubygems/rubygems/commit/43ceae7ac0
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3379
Diffstat (limited to 'lib/rubygems/gem_runner.rb')
-rw-r--r--lib/rubygems/gem_runner.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/rubygems/gem_runner.rb b/lib/rubygems/gem_runner.rb
index 48b8cdd13f..a36674503e 100644
--- a/lib/rubygems/gem_runner.rb
+++ b/lib/rubygems/gem_runner.rb
@@ -7,7 +7,6 @@
require 'rubygems'
require 'rubygems/command_manager'
-require 'rubygems/config_file'
require 'rubygems/deprecate'
##