From be63ace50f9edaf922517a20bf1d3b333c6f9c4f Mon Sep 17 00:00:00 2001 From: Michael Brandt Date: Thu, 2 Feb 2017 17:58:29 -0700 Subject: [PATCH] Add gem_version to plugin_info for local installs --- lib/vagrant/bundler.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/vagrant/bundler.rb b/lib/vagrant/bundler.rb index d19e3d98c..b35841512 100644 --- a/lib/vagrant/bundler.rb +++ b/lib/vagrant/bundler.rb @@ -106,6 +106,7 @@ module Vagrant plugin_source = Gem::Source::SpecificFile.new(path) plugin_info = { plugin_source.spec.name => { + "gem_version" => plugin_source.spec.version.to_s, "local_source" => plugin_source, "sources" => opts.fetch(:sources, Gem.sources.map(&:to_s)) }