Merge pull request #12253 from chrisroberts/default-gem-resolve

Fix dependency resolution where default gems are included
This commit is contained in:
Chris Roberts 2021-03-25 13:35:30 -07:00 committed by GitHub
commit 8adecd1a32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -516,6 +516,9 @@ module Vagrant
@logger.debug("Enabling strict dependency enforcement")
plugin_deps += vagrant_internal_specs.map do |spec|
next if system_plugins.include?(spec.name)
# If this spec is for a default plugin included in
# the ruby stdlib, ignore it
next if spec.default_gem?
# If we are not running within the installer and
# we are not within a bundler environment then we
# only want activated specs