From f1e623976bacc174fb03c320991c5a3f943e2fcb Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Mon, 28 Nov 2016 16:54:59 -0800 Subject: [PATCH] Do not include default specifications within dependencies --- lib/vagrant/bundler.rb | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/lib/vagrant/bundler.rb b/lib/vagrant/bundler.rb index c96651743..3103382a7 100644 --- a/lib/vagrant/bundler.rb +++ b/lib/vagrant/bundler.rb @@ -231,18 +231,6 @@ module Vagrant # Create the request set for the new plugins 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, generate_builtin_set,