summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarmo Pertman <jarmo.p@gmail.com>2010-08-25 23:06:17 +0300
committerwycats <wycats@gmail.com>2010-08-29 17:02:53 +0900
commit5d0ce06cbc0193b13025c634b0d6bc9ccad36c96 (patch)
treed43fde8f05f07691164a661c282d5988bbdb1ba8
parentece5bc6d31d018d00f4449a249fe0bc2738ac091 (diff)
downloadbundler-5d0ce06cbc0193b13025c634b0d6bc9ccad36c96.tar.gz
in Windows, double quotes are needed in the commands to work - see http://github.com/carlhuda/bundler/issues/issue/611
-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 1506d92149..75a26a84ae 100644
--- a/lib/bundler/source.rb
+++ b/lib/bundler/source.rb
@@ -608,7 +608,7 @@ module Bundler
git %|clone --no-checkout "#{cache_path}" "#{path}"|
end
Dir.chdir(path) do
- git "fetch --force --quiet '#{cache_path}'"
+ git %|fetch --force --quiet "#{cache_path}"|
git "reset --hard #{revision}"
if @submodules