summaryrefslogtreecommitdiff
path: root/lib/rubygems/commands/uninstall_command.rb
diff options
context:
space:
mode:
-rw-r--r--lib/rubygems/commands/uninstall_command.rb13
1 files changed, 12 insertions, 1 deletions
@@ -35,6 +35,11 @@ module Gem
options[:install_dir] = File.expand_path(value)
end
add_version_option
add_platform_option
end
@@ -54,7 +59,13 @@ module Gem
def execute
get_all_gem_names.each do |gem_name|
- Gem::Uninstaller.new(gem_name, options).uninstall
end
end
end