From 109214f89d3aa0f16d4657d37272fc3250e53575 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Wed, 5 Jun 2019 13:46:42 -0700 Subject: [PATCH] Properly generate dependency instance when multiple constraints provided --- lib/vagrant/bundler.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant/bundler.rb b/lib/vagrant/bundler.rb index 6124eb181..c50bdb192 100644 --- a/lib/vagrant/bundler.rb +++ b/lib/vagrant/bundler.rb @@ -306,7 +306,7 @@ module Vagrant end source_list[name] << source end - Gem::Dependency.new(name, gem_version) + Gem::Dependency.new(name, *gem_version.split(",")) end if Vagrant.strict_dependency_enforcement