diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-03-13 19:09:46 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-03-15 03:35:54 +0000 |
commit | 31137dc67fe60565a6023664a8e6e4ad35a362ad (patch) | |
tree | 4d39197251d80a11619e94dcf30de09333fb54b8 /lib/bundler | |
parent | 55a0fbfaf855da513e7c8e1234e9edfd51693efa (diff) | |
download | ruby-31137dc67fe60565a6023664a8e6e4ad35a362ad.tar.gz |
[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')
-rw-r--r-- | lib/bundler/rubygems_ext.rb | 4 |
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 |