summaryrefslogtreecommitdiff
path: root/lib/rubygems/source.rb
diff options
context:
space:
mode:
authorDavid Rodriguez <deivid.rodriguez@riseup.net>2021-10-10 17:10:49 +0200
committergit <svn-admin@ruby-lang.org>2021-10-11 01:12:50 +0900
commite0c20485db62f1c764b9902ad4e64658a9027632 (patch)
tree8062953271765cbd9244d168b6333b89ae6ed558 /lib/rubygems/source.rb
parent10c650628a0c0137fbe09e5631db8e0624dfbcc4 (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.rb2
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.
#