mirror of
https://github.com/ruby/ruby.git
synced 2025-08-25 05:55:46 +02:00
Merge RubyGems-3.5.2 and Bundler-2.5.2
This commit is contained in:
parent
fc549b2b3a
commit
82496f2b38
28 changed files with 394 additions and 267 deletions
|
@ -84,7 +84,13 @@ class Gem::BasicSpecification
|
|||
return false
|
||||
end
|
||||
|
||||
have_file? file, Gem.suffixes
|
||||
is_soext = file.end_with?(".so", ".o")
|
||||
|
||||
if is_soext
|
||||
have_file? file.delete_suffix(File.extname(file)), Gem.dynamic_library_suffixes
|
||||
else
|
||||
have_file? file, Gem.suffixes
|
||||
end
|
||||
end
|
||||
|
||||
def default_gem?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue