aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rubygems/core_ext
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2023-10-26 22:11:34 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-11-13 11:06:10 +0900
commit54511303a46901a82e9b2d4ee460b2048e59a2e5 (patch)
tree3a465cce48ee0228b455a6810ac8cc026b1bded2 /lib/rubygems/core_ext
parent435eb56f6175b7c9a16121ec8441f7492fa9aec5 (diff)
downloadruby-54511303a46901a82e9b2d4ee460b2048e59a2e5.tar.gz
[rubygems/rubygems] Drop support for Ruby 2.6 and Ruby 2.7 in RubyGems
https://github.com/rubygems/rubygems/commit/10c26a483d
Diffstat (limited to 'lib/rubygems/core_ext')
-rw-r--r--lib/rubygems/core_ext/kernel_require.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/core_ext/kernel_require.rb b/lib/rubygems/core_ext/kernel_require.rb
index ddb44276eb..a72b55a2da 100644
--- a/lib/rubygems/core_ext/kernel_require.rb
+++ b/lib/rubygems/core_ext/kernel_require.rb
@@ -46,7 +46,7 @@ module Kernel
load_path_check_index = Gem.load_path_insert_index - Gem.activated_gem_paths
Gem.suffixes.find do |s|
$LOAD_PATH[0...load_path_check_index].find do |lp|
- safe_lp = lp.dup.tap(&Gem::UNTAINT)
+ safe_lp = lp.dup
if File.symlink? safe_lp # for backward compatibility
next
end