diff options
Diffstat (limited to 'lib/rubygems/commands/uninstall_command.rb')
-rw-r--r-- | lib/rubygems/commands/uninstall_command.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rubygems/commands/uninstall_command.rb b/lib/rubygems/commands/uninstall_command.rb index 67a3d38bba..aaadb762b5 100644 --- a/lib/rubygems/commands/uninstall_command.rb +++ b/lib/rubygems/commands/uninstall_command.rb @@ -78,6 +78,8 @@ class Gem::Commands::UninstallCommand < Gem::Command get_all_gem_names.each do |gem_name| begin Gem::Uninstaller.new(gem_name, options).uninstall + rescue Gem::InstallError => e + alert e.message rescue Gem::GemNotInHomeException => e spec = e.spec alert("In order to remove #{spec.name}, please execute:\n" \ |