summaryrefslogtreecommitdiff
path: root/lib/bundler
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@plataformatec.com.br>2012-03-22 21:51:52 +0100
committerJosé Valim <jose.valim@plataformatec.com.br>2012-03-22 21:51:52 +0100
commitf65ba393f43bb697e655645e61e2ca52fc05e28e (patch)
treec1bf667e5df04b7e7e8b22be6b7f727d5785ce8f /lib/bundler
parentd389686b681732fe12edc8797333b01648914a56 (diff)
downloadbundler-f65ba393f43bb697e655645e61e2ca52fc05e28e.tar.gz
Fix failing test that was not using the cached revision.
Diffstat (limited to 'lib/bundler')
-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 46537edfc3..895e8290c7 100644
--- a/lib/bundler/source.rb
+++ b/lib/bundler/source.rb
@@ -816,7 +816,7 @@ module Bundler
end
def app_cache_path
- @app_cache_path ||= Bundler.app_cache.join("#{base_name}-#{shortref_for_path(revision)}")
+ @app_cache_path ||= Bundler.app_cache.join("#{base_name}-#{shortref_for_path(cached_revision || revision)}")
end
def local?