Skip to content

Upgrade to Ruby 4#819

Open
zetter-rpf wants to merge 1 commit into
mainfrom
ruby-4
Open

Upgrade to Ruby 4#819
zetter-rpf wants to merge 1 commit into
mainfrom
ruby-4

Conversation

@zetter-rpf
Copy link
Copy Markdown
Contributor

@zetter-rpf zetter-rpf commented May 15, 2026

What's changed?

Update to the latest version of Ruby (4.0.5) so we get the latest features, performance improvements and bugfixes

This looks there are no breaking changes that affect us, I will test a bit more on staging before deploying to production.

Ruby 4 changes: https://github.com/ruby/ruby/blob/v4.0.0/NEWS.md

@cla-bot cla-bot Bot added the cla-signed label May 15, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 15, 2026

Test coverage

91.33% line coverage reported by SimpleCov.
Run: https://github.com/RaspberryPiFoundation/editor-api/actions/runs/26516174599

@zetter-rpf zetter-rpf temporarily deployed to editor-api-p-ruby-4-sqt5kw2nmp May 27, 2026 14:04 Inactive
@zetter-rpf zetter-rpf temporarily deployed to editor-api-p-ruby-4-sqt5kw2nmp May 27, 2026 14:04 Inactive
@zetter-rpf zetter-rpf marked this pull request as ready for review May 27, 2026 14:08
Copilot AI review requested due to automatic review settings May 27, 2026 14:08
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the repository’s Ruby runtime version to Ruby 4.0.5 and aligns local/dev/CI tooling references to use that version via existing .tool-versions + Gemfile.lock mechanisms.

Changes:

  • Bump Ruby version from 3.4.8 to 4.0.5 in .tool-versions and Gemfile.lock.
  • Update Docker base image to ruby:4.0.5-slim-trixie.
  • Refresh contributor/agent documentation to reflect Ruby 4 in CI.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
Gemfile.lock Updates the recorded Ruby version (and lockfile contents) to match Ruby 4.0.5.
Dockerfile Switches the runtime base image to Ruby 4.0.5.
AGENTS.md Updates documentation to state CI uses Ruby 4.
.tool-versions Sets the canonical Ruby version for dev/CI tooling to 4.0.5.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants