Sha256: 1f2d51f08e3be5d55a25ea9ae3ff38759baf1fe66e0e4fad5c0bd27cbba5f267
Contents?: true
Size: 594 Bytes
Versions: 75
Compression:
Stored size: 594 Bytes
Contents
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 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 end
Version data entries
75 entries across 47 versions & 4 rubygems