diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-06-14 16:40:47 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-06-15 07:01:27 +0900 |
commit | 2c219ab2155483e23d1a6e9fd5262d0206f837e4 (patch) | |
tree | 07e850f38c61a208596e7da5eb21d96b4756dd92 /spec/bundler/support | |
parent | 3e7f5b02aeb2a55b27d402024f42821684d85ec6 (diff) |
[rubygems/rubygems] Rubocop 1.51.0 or later didn't support Ruby 2.6
https://github.com/rubygems/rubygems/commit/522b5f1ecd
Diffstat (limited to 'spec/bundler/support')
-rw-r--r-- | spec/bundler/support/path.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/bundler/support/path.rb b/spec/bundler/support/path.rb index 8d1807b56c..240cfe7bc9 100644 --- a/spec/bundler/support/path.rb +++ b/spec/bundler/support/path.rb @@ -292,11 +292,11 @@ module Spec end def rubocop_gemfile_basename - tool_dir.join("rubocop_gems.rb") + tool_dir.join(RUBY_VERSION.start_with?("2.6") ? "rubocop26_gems.rb" : "rubocop_gems.rb") end def standard_gemfile_basename - tool_dir.join("standard_gems.rb") + tool_dir.join(RUBY_VERSION.start_with?("2.6") ? "standard26_gems.rb" : "standard_gems.rb") end def tool_dir |