Repository navigation
Ruby 3 support - #53
Merged
Merged
Conversation
larouxn
force-pushed
the
ruby_3_support
branch
from
January 10, 2021 09:07
0be3510 to
d490e92
Compare
larouxn
commented
Jan 10, 2021
| @@ -1,4 +1,4 @@ | |||
| ruby '~> 2.4' | |||
| ruby '>= 2.4' | |||
Contributor
Author
winston
approved these changes
Jan 11, 2021
codeAbul
approved these changes
Jan 14, 2021
larouxn
force-pushed
the
replace_travis_with_github_actions
branch
from
January 14, 2021 05:55
fa5f004 to
71f8bc4
Compare
larouxn
force-pushed
the
ruby_3_support
branch
4 times, most recently
from
January 14, 2021 06:05
94f8939 to
f9aad86
Compare
larouxn
force-pushed
the
ruby_3_support
branch
from
January 14, 2021 06:21
f9aad86 to
8f5fdc6
Compare
larouxn
force-pushed
the
ruby_3_support
branch
from
January 14, 2021 06:24
8f5fdc6 to
0ee9669
Compare
larouxn
force-pushed
the
ruby_3_support
branch
from
January 14, 2021 06:26
0ee9669 to
5d298f2
Compare
Merged
sjahu
pushed a commit
that referenced
this pull request
Oct 6, 2026
Every CI run since December 2024 fails before tests start, in the job labelled "Ruby 3". Two things combined: 1. The matrix lists Ruby versions as unquoted YAML numbers (#53, 2021). YAML reads 3.0 as the number 3, so setup-ruby installs the latest 3.x, not Ruby 3.0. Harmless until 3.x meant 3.4. 2. Gemfile.lock pins Bundler 2.2.33 (7cb1151, June 2024), whose vendored Thor references DidYouMean::SPELL_CHECKERS. Ruby 3.4 ships did_you_mean 2.0.0, which removed that constant, so Bundler 2.2.33 crashes on load under Ruby 3.4. setup-ruby v1.206.0 (2024-12-26) added Ruby 3.4.0. From then on "3" meant 3.4, Bundler 2.2.33 crashed, and fail-fast cancelled the other jobs, so no Ruby reported a result. Changes: quote the matrix versions; add Ruby 3.4; fail-fast: false; bump the Bundler pin to 2.4.22 (newest that installs on Ruby 2.7 and loads on 3.4); actions/checkout v2 -> v4. Verified locally: Bundler 2.2.33 reproduces the CI NameError on Ruby 3.4.9; with 2.4.22 the suite passes on Ruby 3.4.9 and 4.0.7.
This branch was successfully deployed
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.

Add support and CI testing for Ruby 3.0.0 by removing Ruby ~> 2.4 requirement and updating CI config.
https://www.ruby-lang.org/en/news/2020/12/25/ruby-3-0-0-released/