Track installed gem version and display in startup logger information

This commit is contained in:
Chris Roberts 2016-11-07 20:16:46 -08:00
parent 1f5dd35d16
commit 36d88ee268
2 changed files with 2 additions and 1 deletions

View File

@ -248,7 +248,7 @@ plugins = Vagrant::Plugin::Manager.instance.installed_plugins
global_logger.info("Plugins:")
plugins.each do |plugin_name, plugin_info|
global_logger.info(" - #{plugin_name} = #{plugin_info[:version]}")
global_logger.info(" - #{plugin_name} = #{plugin_info["installed_gem_version"]}")
end
if Vagrant.plugins_init?

View File

@ -78,6 +78,7 @@ module Vagrant
version: opts[:version],
require: opts[:require],
sources: opts[:sources],
installed_gem_version: result.version
)
result