diff --git a/plugins/commands/plugin/gem_helper.rb b/plugins/commands/plugin/gem_helper.rb index d91be4442..2dc260e5e 100644 --- a/plugins/commands/plugin/gem_helper.rb +++ b/plugins/commands/plugin/gem_helper.rb @@ -57,7 +57,10 @@ module VagrantPlugins # Clear paths so that it reads the new GEM_HOME setting Gem.paths = ENV - return yield + # Use a silent UI so that we have no output + Gem::DefaultUserInteraction.use_ui(Gem::SilentUI.new) do + return yield + end ensure # Restore the old GEM_* settings ENV["GEM_HOME"] = old_gem_home