summaryrefslogtreecommitdiff
path: root/test/rubygems/simple_gem.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rubygems/simple_gem.rb')
-rw-r--r--test/rubygems/simple_gem.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/simple_gem.rb b/test/rubygems/simple_gem.rb
index d7c0356..c40002e 100644
--- a/test/rubygems/simple_gem.rb
+++ b/test/rubygems/simple_gem.rb
@@ -16,7 +16,7 @@ SIMPLE_GEM = <<-GEMDATA
@directory = options[:directory] || Gem.dir
@force = options[:force]
- gem = Gem::Installer.new(__FILE__).install(@force, @directory)
+ gem = Gem::Installer.at(__FILE__).install(@force, @directory)
if options[:gen_rdoc]
Gem::DocManager.new(gem).generate_rdoc
end