summaryrefslogtreecommitdiff
path: root/lib/bundler/source.rb
diff options
context:
space:
mode:
authorraggi <jftucker@gmail.com>2010-11-16 19:27:11 -0800
committerTerence Lee <hone02@gmail.com>2010-11-24 16:50:01 -0600
commitce450950b1f959778e9e3da359e4b355d6124a83 (patch)
treedcb657f30741ab8bba85b728717e1effda1609d4 /lib/bundler/source.rb
parentb383bc7b7d62b3210b01749e4f4f4c520de1d7cd (diff)
downloadbundler-ce450950b1f959778e9e3da359e4b355d6124a83.tar.gz
Use rubygems naming conventions, not our own
Diffstat (limited to 'lib/bundler/source.rb')
-rw-r--r--lib/bundler/source.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/source.rb b/lib/bundler/source.rb
index 5fef845b61..cd8e411ed9 100644
--- a/lib/bundler/source.rb
+++ b/lib/bundler/source.rb
@@ -134,7 +134,7 @@ module Bundler
private
def cached_gem(spec)
- possibilities = @caches.map { |p| "#{p}/#{spec.full_name}.gem" }
+ possibilities = @caches.map { |p| "#{p}/#{spec.file_name}" }
possibilities.find { |p| File.exist?(p) }
end