summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/bundler/support/path.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/support/path.rb b/spec/bundler/support/path.rb
index 92594db9df..8010b2f293 100644
--- a/spec/bundler/support/path.rb
+++ b/spec/bundler/support/path.rb
@@ -266,7 +266,7 @@ module Spec
end
def rake_path
- Dir["#{base_system_gems}/**/rake*.gem"].first
+ Dir["#{base_system_gems}/#{Bundler.ruby_scope}/**/rake*.gem"].first
end
private