diff options
Diffstat (limited to 'spec/bundler/support/path.rb')
-rw-r--r-- | spec/bundler/support/path.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/bundler/support/path.rb b/spec/bundler/support/path.rb index 2870a8b678..5c156c47cf 100644 --- a/spec/bundler/support/path.rb +++ b/spec/bundler/support/path.rb @@ -42,7 +42,8 @@ module Spec end def dev_gemfile - @dev_gemfile ||= tool_dir.join("dev_gems.rb") + name = RUBY_VERSION.start_with?("2.6") ? "dev26_gems.rb" : "dev_gems.rb" + @dev_gemfile ||= tool_dir.join(name) end def bindir |