Class Methods
::
lib/rubygems/commands/mirror_command.rb
View on GitHub
# File tmp/rubies/ruby-3.0.5/lib/rubygems/commands/mirror_command.rb, line 6
def initialize
super('mirror', 'Mirror all gem files (requires rubygems-mirror)')
begin
Gem::Specification.find_by_name('rubygems-mirror').activate
rescue Gem::LoadError
# no-op
end
end
No documentation available
Instance Methods
#
lib/rubygems/commands/mirror_command.rb
View on GitHub
# File tmp/rubies/ruby-3.0.5/lib/rubygems/commands/mirror_command.rb, line 21
def execute
alert_error "Install the rubygems-mirror gem for the mirror command"
end
No documentation available