Properly generate dependency instance when multiple constraints provided

This commit is contained in:
Chris Roberts 2019-06-05 13:46:42 -07:00
parent 382c7315c8
commit 109214f89d
1 changed files with 1 additions and 1 deletions

View File

@ -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