From 31137dc67fe60565a6023664a8e6e4ad35a362ad Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Mon, 13 Mar 2023 19:09:46 +0900 Subject: [rubygems/rubygems] Removed test for https://github.com/rubygems/rubygems/pull/6444, I have no idea to migrate this test to bundler example yet https://github.com/rubygems/rubygems/commit/0d869019bf --- lib/bundler/rubygems_ext.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/bundler') diff --git a/lib/bundler/rubygems_ext.rb b/lib/bundler/rubygems_ext.rb index ff3defa5b4..35cc5b6cf8 100644 --- a/lib/bundler/rubygems_ext.rb +++ b/lib/bundler/rubygems_ext.rb @@ -83,8 +83,8 @@ module Gem # so we find them with heuristic way. We should improve it. if source.respond_to?(:root) return false if (full_require_paths - [extension_dir]).any? do |path| - File.exist?(File.join(path, "#{name}.#{RbConfig::CONFIG['DLEXT']}")) || - !Dir.glob(File.join(path, name, "*.#{RbConfig::CONFIG['DLEXT']}")).empty? + File.exist?(File.join(path, "#{name}.#{RbConfig::CONFIG["DLEXT"]}")) || + !Dir.glob(File.join(path, name, "*.#{RbConfig::CONFIG["DLEXT"]}")).empty? end end -- cgit v1.2.1