ci: add Ruby 4.0 to the test matrix#57
Open
erimicel wants to merge 2 commits intotypesense:masterfrom
Open
Conversation
Ruby 4.0 was released in late 2025; the gem already runs cleanly on it locally (rubocop and the full RSpec suite pass on 4.0.2). Adding it to the CI matrix so regressions on Ruby 4 are caught before release. The gem's required Ruby is `>= 2.7` and is unchanged. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Contributor
|
Seems like there's an issue with bundler for Ruby 4.0 |
Contributor
Author
Thank you for reviewing 🙏 issue was that ruby 4.0 ships Bundler 4 by default, but gemfile constrained bundler ~> 2.0, which excludes Bundler ≥ 3, as a solution relaxed to bundler >= 2.0 so bundler 2/3/4 all satisfy it. |
tharropoulos
approved these changes
Apr 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Adds Ruby
4.0to the CI test matrix.Ruby 4.0 was released in late 2025. The gem already runs cleanly on it —
bundle exec rubocopand the fullbundle exec rspecsuite pass on4.0.2with no source changes. Adding it to the matrix so any future regressions on Ruby 4 are caught before release.The gem's
required_ruby_version = '>= 2.7'is unchanged.PR Checklist