lib/bundler/source/rubygems.rb in bundler-2.4.14 vs lib/bundler/source/rubygems.rb in bundler-2.4.15
- old
+ new
@@ -379,10 +379,9 @@
def cached_specs
@cached_specs ||= begin
idx = @allow_local ? installed_specs.dup : Index.new
Dir["#{cache_path}/*.gem"].each do |gemfile|
- next if /^bundler\-[\d\.]+?\.gem/.match?(gemfile)
s ||= Bundler.rubygems.spec_from_gem(gemfile)
s.source = self
idx << s
end