diff --git a/lib/bundler/source.rb b/lib/bundler/source.rb index 747edf09251..7f98f08469e 100644 --- a/lib/bundler/source.rb +++ b/lib/bundler/source.rb @@ -313,7 +313,7 @@ def cache end def checkout - unless File.exist?(path + "/.git") + unless File.exist?("#{path}/.git") %x(git clone --no-checkout #{cache_path} #{path}) end Dir.chdir(path) do