diff --git a/lib/vagrant.rb b/lib/vagrant.rb index a15996c2c..4fabcac96 100644 --- a/lib/vagrant.rb +++ b/lib/vagrant.rb @@ -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? diff --git a/lib/vagrant/plugin/manager.rb b/lib/vagrant/plugin/manager.rb index 838c65a40..a61da93fb 100644 --- a/lib/vagrant/plugin/manager.rb +++ b/lib/vagrant/plugin/manager.rb @@ -78,6 +78,7 @@ module Vagrant version: opts[:version], require: opts[:require], sources: opts[:sources], + installed_gem_version: result.version ) result