mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 13:04:13 +02:00
Merge rubygems master.
This is RC version of Rubygems 2.7.0.
688fb7e83c
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6b05153a3a
commit
c00e84327f
96 changed files with 2021 additions and 701 deletions
|
@ -71,7 +71,7 @@ class Gem::BasicSpecification
|
|||
elsif missing_extensions? then
|
||||
@ignored = true
|
||||
|
||||
warn "Ignoring #{full_name} because its extensions are not built. " +
|
||||
warn "Ignoring #{full_name} because its extensions are not built. " +
|
||||
"Try: gem pristine #{name} --version #{version}"
|
||||
return false
|
||||
end
|
||||
|
@ -275,10 +275,10 @@ class Gem::BasicSpecification
|
|||
# for this spec.
|
||||
|
||||
def lib_dirs_glob
|
||||
dirs = if self.require_paths.size > 1 then
|
||||
"{#{self.require_paths.join(',')}}"
|
||||
dirs = if self.raw_require_paths.size > 1 then
|
||||
"{#{self.raw_require_paths.join(',')}}"
|
||||
else
|
||||
self.require_paths.first
|
||||
self.raw_require_paths.first
|
||||
end
|
||||
|
||||
"#{self.full_gem_path}/#{dirs}".dup.untaint
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue