diff options
author | David Rodriguez <deivid.rodriguez@riseup.net> | 2021-10-10 17:10:49 +0200 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2021-10-11 01:12:50 +0900 |
commit | e0c20485db62f1c764b9902ad4e64658a9027632 (patch) | |
tree | 8062953271765cbd9244d168b6333b89ae6ed558 /lib/rubygems/source.rb | |
parent | 10c650628a0c0137fbe09e5631db8e0624dfbcc4 (diff) |
[ruby/rubygems] Prefer `require_relative` for internal requires
https://github.com/rubygems/rubygems/commit/51796f257a
Diffstat (limited to 'lib/rubygems/source.rb')
-rw-r--r-- | lib/rubygems/source.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/source.rb b/lib/rubygems/source.rb index a9d91ed18e..f03e09872c 100644 --- a/lib/rubygems/source.rb +++ b/lib/rubygems/source.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -require "rubygems/text" +require_relative "text" ## # A Source knows how to list and fetch gems from a RubyGems marshal index. # |