summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2010-03-15 11:20:27 -0700
committerAndre Arko <andre@arko.net>2010-03-15 11:20:27 -0700
commitd2c92e4a16f9da039e57bca35e3ab75d97b69062 (patch)
treed4febed2d37cecaf4cc1da8a702ac5f36ac454ec
parenta681b3865775563f4ae31d370fe99a8def5705ca (diff)
downloadbundler-d2c92e4a16f9da039e57bca35e3ab75d97b69062.tar.gz
Quote path to git repo, so spaces don't break it
-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 baf6065dd3..6545e7eb6f 100644
--- a/lib/bundler/source.rb
+++ b/lib/bundler/source.rb
@@ -325,7 +325,7 @@ module Bundler
def checkout
unless File.exist?("#{path}/.git")
- %x(git clone --no-checkout file://#{cache_path} #{path})
+ %x(git clone --no-checkout "file://#{cache_path}" #{path})
end
Dir.chdir(path) do
git "fetch --quiet"