summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2017-08-02 15:48:02 -0500
committerSamuel Giddins <segiddins@segiddins.me>2017-08-19 00:24:34 -0400
commita12410d52bc3190c16965dfdfbfc703d0776b2ca (patch)
treec32427852386b23157fd8968786a51e7729ecae8
parente2a8b1735b53c1f7af3cbda84bc031d4c9b84c57 (diff)
downloadbundler-a12410d52bc3190c16965dfdfbfc703d0776b2ca.tar.gz
Cache git extensions in a path that includes the rev
-rw-r--r--lib/bundler/source/git.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/source/git.rb b/lib/bundler/source/git.rb
index c21dc75e54..ce9ffc9c3b 100644
--- a/lib/bundler/source/git.rb
+++ b/lib/bundler/source/git.rb
@@ -221,7 +221,7 @@ module Bundler
def extension_cache_path(spec)
return unless Bundler.feature_flag.global_gem_cache?
- cache_path.join("extensions", Bundler.ruby_scope, spec.full_name)
+ cache_path.join("extensions", Bundler.ruby_scope, extension_dir_name)
end
def app_cache_dirname