1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Merge bundler-2.2.0.rc.2

This commit is contained in:
Hiroshi SHIBATA 2020-10-15 13:20:25 +09:00
parent 7ffd14a18c
commit d386a58f6f
Notes: git 2020-10-15 17:19:31 +09:00
200 changed files with 1058 additions and 3672 deletions

View file

@ -155,7 +155,7 @@ module Bundler
spec_cache_paths = []
spec_gemspec_paths = []
spec_extension_paths = []
specs.each do |spec|
Bundler.rubygems.add_default_gems_to(specs).values.each do |spec|
spec_gem_paths << spec.full_gem_path
# need to check here in case gems are nested like for the rails git repo
md = %r{(.+bundler/gems/.+-[a-f0-9]{7,12})}.match(spec.full_gem_path)
@ -203,7 +203,7 @@ module Bundler
output
end
private
private
def prune_gem_cache(resolve, cache_path)
cached = Dir["#{cache_path}/*.gem"]