Skip to content

Commit

Permalink
quote arguments to 'git fetch' to resolve failures to fetch gems on s…
Browse files Browse the repository at this point in the history
…ome systems
  • Loading branch information
Jonah Williams authored and indirect committed Mar 22, 2011
1 parent b3f3a64 commit f121caa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bundler/source.rb
Expand Up @@ -613,7 +613,7 @@ def cache
return if has_revision_cached?
Bundler.ui.info "Updating #{uri}"
in_cache do
git %|fetch --force --quiet --tags "#{uri}" refs/heads/*:refs/heads/*|
git %|fetch --force --quiet --tags "#{uri}" "refs/heads/*:refs/heads/*"|
end
else
Bundler.ui.info "Fetching #{uri}"
Expand Down

0 comments on commit f121caa

Please sign in to comment.