lib/bundler/definition.rb in bundler-2.2.6 vs lib/bundler/definition.rb in bundler-2.2.7

- old
+ new

@@ -911,9 +911,10 @@ source_requirements[dep.name] = source end metadata_dependencies.each do |dep| source_requirements[dep.name] = sources.metadata_source end + source_requirements[:default_bundler] = source_requirements["bundler"] || source_requirements[:default] source_requirements["bundler"] = sources.metadata_source # needs to come last to override source_requirements end def pinned_spec_names(skip = nil)