summaryrefslogtreecommitdiff
path: root/lib/rubygems/commands/cleanup_command.rb
diff options
context:
space:
mode:
-rw-r--r--lib/rubygems/commands/cleanup_command.rb8
1 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@
require 'rubygems/command'
require 'rubygems/source_index'
require 'rubygems/dependency_list'
@@ -8,7 +14,7 @@ class Gem::Commands::CleanupCommand < Gem::Command
def initialize
super 'cleanup',
'Clean up old versions of installed gems in the local repository',
- :force => false, :test => false, :install_dir => Gem.dir
add_option('-d', '--dryrun', "") do |value, options|
options[:dryrun] = true