summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/bundler/support/helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/support/helpers.rb b/spec/bundler/support/helpers.rb
index 69da1c5a2e..46d8eb52a2 100644
--- a/spec/bundler/support/helpers.rb
+++ b/spec/bundler/support/helpers.rb
@@ -201,7 +201,7 @@ module Spec
end
def gem_command(command, args = "", options = {})
- if command == :exec && !options[:no_quote]
+ if command == :exec
args = args.gsub(/(?=")/, "\\")
args = %("#{args}")
end