Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Quote paths with double quotes for Windows

Hopefully finally fixes #196
  • Loading branch information...
commit e3610450a3e475ce37306172aaa4a9b7a5a59057 1 parent 2bdbc61
@indirect indirect authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/bundler/source.rb
View
6 lib/bundler/source.rb
@@ -315,17 +315,17 @@ def cache_path
def cache
if cache_path.exist?
Bundler.ui.info "Updating #{uri}"
- in_cache { git "fetch --quiet '#{uri}' master:master" }
+ in_cache { git %|fetch --quiet "#{uri}" master:master| }
else
Bundler.ui.info "Fetching #{uri}"
FileUtils.mkdir_p(cache_path.dirname)
- git "clone '#{uri}' '#{cache_path}' --bare --no-hardlinks"
+ git %|clone "#{uri}" "#{cache_path}" --bare --no-hardlinks|
end
end
def checkout
unless File.exist?(path.join(".git"))
- git "clone --no-checkout '#{cache_path}' '#{path}'"
+ git %|clone --no-checkout "#{cache_path}" "#{path}"|
end
Dir.chdir(path) do
git "fetch --quiet"
Please sign in to comment.
Something went wrong with that request. Please try again.