class Bundler::Source::Git

def uri_escaped

restart.
within the URI we must end the string, escape the quote and
Escape the URI for shell commands. To support a single quote
def uri_escaped
  "'#{uri.gsub("'") {|s| "'\\''"}}'"
end