mirror of
https://github.com/ruby/ruby.git
synced 2025-09-21 11:33:58 +02:00
Merge pull request #5482 from hsbt/rubygems-3-3-bundler-2-3
Merge RubyGems 3.3.x and Bundler 2.3.x
This commit is contained in:
parent
69463805f0
commit
6794f8cf92
115 changed files with 1701 additions and 889 deletions
|
@ -289,14 +289,14 @@ class Gem::BasicSpecification
|
|||
|
||||
def lib_dirs_glob
|
||||
dirs = if self.raw_require_paths
|
||||
if self.raw_require_paths.size > 1
|
||||
"{#{self.raw_require_paths.join(',')}}"
|
||||
else
|
||||
self.raw_require_paths.first
|
||||
end
|
||||
else
|
||||
"lib" # default value for require_paths for bundler/inline
|
||||
end
|
||||
if self.raw_require_paths.size > 1
|
||||
"{#{self.raw_require_paths.join(',')}}"
|
||||
else
|
||||
self.raw_require_paths.first
|
||||
end
|
||||
else
|
||||
"lib" # default value for require_paths for bundler/inline
|
||||
end
|
||||
|
||||
"#{self.full_gem_path}/#{dirs}".dup.tap(&Gem::UNTAINT)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue