summaryrefslogtreecommitdiff
path: root/lib/rubygems/commands/mirror_command.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rubygems/commands/mirror_command.rb')
-rw-r--r--lib/rubygems/commands/mirror_command.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rubygems/commands/mirror_command.rb b/lib/rubygems/commands/mirror_command.rb
index 86671a93b2..4e2a41fa33 100644
--- a/lib/rubygems/commands/mirror_command.rb
+++ b/lib/rubygems/commands/mirror_command.rb
@@ -3,6 +3,7 @@ require 'rubygems/command'
unless defined? Gem::Commands::MirrorCommand
class Gem::Commands::MirrorCommand < Gem::Command
+
def initialize
super('mirror', 'Mirror all gem files (requires rubygems-mirror)')
begin
@@ -21,5 +22,6 @@ The mirror command has been moved to the rubygems-mirror gem.
def execute
alert_error "Install the rubygems-mirror gem for the mirror command"
end
+
end
end