summaryrefslogtreecommitdiffstats
path: root/lib/rubygems/commands/pristine_command.rb
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-25 10:13:50 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-25 10:13:50 +0000
commit6c1b339b1b62084c37a20b2dbaae1c512de0769b (patch)
tree3bfca425683a94d1360ecdf5857d741b8eaac213 /lib/rubygems/commands/pristine_command.rb
parent4520ae9543a0d2791dd14772ebd57cff729e3b79 (diff)
downloadruby-6c1b339b1b62084c37a20b2dbaae1c512de0769b.tar.gz
ruby-6c1b339b1b62084c37a20b2dbaae1c512de0769b.tar.xz
ruby-6c1b339b1b62084c37a20b2dbaae1c512de0769b.zip
Update to RubyGems 1.3.0 r1891
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rubygems/commands/pristine_command.rb')
-rw-r--r--lib/rubygems/commands/pristine_command.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/commands/pristine_command.rb b/lib/rubygems/commands/pristine_command.rb
index 3e55a1bb3..d47fe54ed 100644
--- a/lib/rubygems/commands/pristine_command.rb
+++ b/lib/rubygems/commands/pristine_command.rb
@@ -57,7 +57,7 @@ revert the gem.
end
else
gem_name = get_one_gem_name
- Gem::SourceIndex.from_installed_gems.search(gem_name,
+ Gem::SourceIndex.from_installed_gems.find_name(gem_name,
options[:version])
end