diff options
author | Jarmo Pertman <jarmo.p@gmail.com> | 2010-08-25 23:06:17 +0300 |
---|---|---|
committer | wycats <wycats@gmail.com> | 2010-08-29 17:02:53 +0900 |
commit | 5d0ce06cbc0193b13025c634b0d6bc9ccad36c96 (patch) | |
tree | d43fde8f05f07691164a661c282d5988bbdb1ba8 | |
parent | ece5bc6d31d018d00f4449a249fe0bc2738ac091 (diff) | |
download | bundler-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.rb | 2 |
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 |