summaryrefslogtreecommitdiff
path: root/spec/bundler/support/helpers.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/bundler/support/helpers.rb')
-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 01ddb49977..5f77ce6be9 100644
--- a/spec/bundler/support/helpers.rb
+++ b/spec/bundler/support/helpers.rb
@@ -220,7 +220,7 @@ module Spec
def rake
if ENV['BUNDLE_RUBY'] && ENV['BUNDLE_GEM']
- "#{ENV['BUNDLE_RUBY']} #{ENV['GEM_PATH']}/bin/rake"
+ "'#{ENV['BUNDLE_RUBY']}' -S '#{ENV['GEM_PATH']}/bin/rake'"
else
'rake'
end