Sha256: 8b475963d7edfb36c1f5af315fc6b7de976b2dd70300c5fcd86a9706c4108c2a
Contents?: true
Size: 511 Bytes
Versions: 24
Compression:
Stored size: 511 Bytes
Contents
require 'rubygems/command' class Gem::Commands::MirrorCommand < Gem::Command 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 def description # :nodoc: <<-EOF The mirror command has been moved to the rubygems-mirror gem. EOF end def execute alert_error "Install the rubygems-mirror gem for the mirror command" end end
Version data entries
24 entries across 24 versions & 1 rubygems