mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Merge RubyGems 3.0.1 from rubygems/rubygems.
It fixed the issues of RubyGems 3.0.0. https://blog.rubygems.org/2018/12/23/3.0.1-released.html git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9b9fe826fd
commit
ae19a18996
8 changed files with 34 additions and 17 deletions
|
@ -122,7 +122,7 @@ module Gem::Util
|
|||
|
||||
def self.glob_files_in_dir(glob, base_path)
|
||||
if RUBY_VERSION >= "2.5"
|
||||
Dir.glob(glob, base: base_path).map! {|f| File.join(base_path, f) }
|
||||
Dir.glob(glob, base: base_path).map! {|f| File.expand_path(f, base_path) }
|
||||
else
|
||||
Dir.glob(File.expand_path(glob, base_path))
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue