Sha256: 8051bad6194418325a9ec60c10fca9f00f31fc0cda9ef108860c2948099d11e2
Contents?: true
Size: 395 Bytes
Versions: 23
Compression:
Stored size: 395 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 execute alert_error "Install the rubygems-mirror gem for the mirror command" end end
Version data entries
23 entries across 23 versions & 1 rubygems