class Gem::TestCase
def install_default_specs(*specs)
def install_default_specs(*specs) specs.each do |spec| installer = Gem::Installer.for_spec(spec, :install_as_default => true) installer.install Gem.register_default_spec(spec) end end
def install_default_specs(*specs) specs.each do |spec| installer = Gem::Installer.for_spec(spec, :install_as_default => true) installer.install Gem.register_default_spec(spec) end end