summaryrefslogtreecommitdiff
path: root/lib/bundler/rubygems_ext.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2023-03-13 19:09:46 +0900
committergit <svn-admin@ruby-lang.org>2023-03-15 03:35:54 +0000
commit31137dc67fe60565a6023664a8e6e4ad35a362ad (patch)
tree4d39197251d80a11619e94dcf30de09333fb54b8 /lib/bundler/rubygems_ext.rb
parent55a0fbfaf855da513e7c8e1234e9edfd51693efa (diff)
[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
Diffstat (limited to 'lib/bundler/rubygems_ext.rb')
-rw-r--r--lib/bundler/rubygems_ext.rb4
1 files changed, 2 insertions, 2 deletions
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