mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[rubygems/rubygems] Prefer require_relative
to require
for internal requires
c74fc58695
This commit is contained in:
parent
f6803d2411
commit
54ae3f587e
Notes:
git
2021-08-31 19:07:05 +09:00
80 changed files with 273 additions and 273 deletions
|
@ -93,7 +93,7 @@ class Gem::Resolver::Specification
|
|||
# specification.
|
||||
|
||||
def install(options = {})
|
||||
require 'rubygems/installer'
|
||||
require_relative '../installer'
|
||||
|
||||
gem = download options
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue