Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Start testing the code on Ruby 3, without making it the default yet.
If we get to a point where there are gem conflicts for
ruby5x
that won't even install under Ruby 3 then we'd need to do something more complex, but this should work for now I think, and get Ruby 3 under test coverage at least?Notes:
.circleci/config.yml
when running tests on Ruby 3, since only Rails 6 and above support Ruby 3.This won't actually run any of the rspec tests on Ruby 3 until Fix rspec invocation in CircleCI #2125 is merged, since the tests aren't currently actually running on Circle for Rails >= 6 and Ruby 3 only runs on Rails >= 6.