We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f43c7a commit 5a6eca4Copy full SHA for 5a6eca4
bundler/lib/bundler/runtime.rb
@@ -174,7 +174,8 @@ def clean(dry_run = false)
174
spec_cache_paths = []
175
spec_gemspec_paths = []
176
spec_extension_paths = []
177
- Bundler.rubygems.add_default_gems_to(specs).values.each do |spec|
+ specs_to_keep = Bundler.rubygems.add_default_gems_to(specs).values
178
+ specs_to_keep.each do |spec|
179
spec_gem_paths << spec.full_gem_path
180
# need to check here in case gems are nested like for the rails git repo
181
md = %r{(.+bundler/gems/.+-[a-f0-9]{7,12})}.match(spec.full_gem_path)
0 commit comments