aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/bundler/source.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bundler/source.rb b/lib/bundler/source.rb
index 4eac117c..960a154d 100644
--- a/lib/bundler/source.rb
+++ b/lib/bundler/source.rb
@@ -409,6 +409,7 @@ module Bundler
def checkout
unless File.exist?(path.join(".git"))
+ FileUtils.mkdir_p(path.dirname)
git %|clone --no-checkout "#{cache_path}" "#{path}"|
end
Dir.chdir(path) do