Do not include default specifications within dependencies

This commit is contained in:
Chris Roberts 2016-11-28 16:54:59 -08:00
parent 3ec6290ad0
commit f1e623976b
1 changed files with 0 additions and 12 deletions

View File

@ -231,18 +231,6 @@ module Vagrant
# Create the request set for the new plugins # Create the request set for the new plugins
request_set = Gem::RequestSet.new(*plugin_deps) request_set = Gem::RequestSet.new(*plugin_deps)
# Generate all existing deps within the "vagrant system"
existing_deps = vagrant_internal_specs.map do |item|
@logger.debug("Activating builtin specification: #{item.full_name}")
Gem::Dependency.new(item.name, item.version)
end
@logger.debug("Required constraints from builtin gems: #{existing_deps}")
# Import constraints into the request set to prevent installing
# gems that are incompatible with the core system
request_set.import(existing_deps)
installer_set = Gem::Resolver.compose_sets( installer_set = Gem::Resolver.compose_sets(
installer_set, installer_set,
generate_builtin_set, generate_builtin_set,