Skip to content

Upgrade Ruby to 4.0.10 - #51

Merged
etagwerker merged 2 commits into
mainfrom
upgrade-ruby-4.0.10
Nov 22, 2026
Merged

etagwerker merged 2 commits into
mainfrom
upgrade-ruby-4.0.10

Conversation

@etagwerker

@etagwerker etagwerker commented Nov 22, 2026 •

Copy link
Copy Markdown
Member

What

Upgrades Ruby from 3.3.14 to 4.0.10 in development, CI, and test (Docker too).

  • Bumped version in .ruby-version, .tool-versions, Gemfile, Dockerfile, docker-compose.yml, and the CI workflow
  • Added gems that are no longer default gems: csv, mutex_m, nkf, observer, ostruct (the first three were the warnings we saw in the production console on 3.3)
  • Updated reek to 6.6.0, since 6.1.1 depended on kwalify, which breaks on newer StringScanner (undefined method 'peep')

Testing

  • bundle exec rspec locally on 4.0.10: 83 examples, 0 failures
  • Gemfile.next also bundles on 4.0.10
  • Waiting on CI

Notes

Draft: not yet verified on Heroku (the buildpack needs to support 4.0.10) or with a review app.

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@etagwerker
etagwerker marked this pull request as ready for review November 22, 2026 02:57
2.0.16 calls Gem::Platform.match, which no longer exists in RubyGems 4,
so assets:precompile aborted on Heroku.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@etagwerker
etagwerker merged commit d6934e1 into main Nov 22, 2026
1 of 2 checks passed

This branch had an error being deployed

1 failed (outdated) and 1 active deployments
librarian-staging — 325e3c7e Deployed Nov 22, 2026 by etagwerker
librarian-production — 7fb149fe Deployed Nov 22, 2026 by etagwerker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant