From 5db58d6a33864158fd2d25633f20bc532ed39764 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 3 Mar 2014 14:57:42 -0800 Subject: [PATCH] commands/plugin: list notes system gems --- plugins/commands/plugin/action/list_plugins.rb | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/plugins/commands/plugin/action/list_plugins.rb b/plugins/commands/plugin/action/list_plugins.rb index 8a8ecd312..0d234720a 100644 --- a/plugins/commands/plugin/action/list_plugins.rb +++ b/plugins/commands/plugin/action/list_plugins.rb @@ -27,13 +27,12 @@ module VagrantPlugins end specs.each do |spec| - env[:ui].info "#{spec.name} (#{spec.version})" - - # Grab the plugin. Note that the check for whether it exists - # shouldn't be necessary since installed_specs checks that but - # its nice to be certain. + # Grab the plugin. plugin = plugins[spec.name] - next if !plugin + + system = "" + system = ", system" if plugin && plugin["system"] + env[:ui].info "#{spec.name} (#{spec.version}#{system})" if plugin["gem_version"] && plugin["gem_version"] != "" env[:ui].info(I18n.t(