Skip to content

[PNP-9968] Update ruby to v4#855

Merged
deborahchua merged 4 commits into
mainfrom
update-ruby-to-v4
May 18, 2026
Merged

[PNP-9968] Update ruby to v4#855
deborahchua merged 4 commits into
mainfrom
update-ruby-to-v4

Conversation

@deborahchua
Copy link
Copy Markdown
Contributor

@deborahchua deborahchua commented May 12, 2026

This has been tested on Integration.

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

⚠️ Coverage note: test suite is set to fail if coverage drops below 100%. If you need to merge in an emergency, you will have to temporarily change branch protection rules. ⚠️

Follow these steps if you are doing a Rails upgrade.

Jira card: https://gov-uk.atlassian.net/browse/PNP-9968

Copy link
Copy Markdown
Contributor

@KludgeKML KludgeKML left a comment

Choose a reason for hiding this comment

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

LGTM

Update to 4.0 in the Gemfile and Dockerfile, and
4.0.2 in .ruby-version (latest at the moment).
Ran `bundle update --bundler`
Bundler 4 does not automatically generate all
binstubs anymore.

- Add bootsnap binstub (needed for generating deploy image): `bundle binstubs bootsnap`
- Add puma binstubs (needed to startup in Kubernetes): `bundle binstubs puma`
- Add sidekiq binstubs (needed to start sidekiq in Kubernetes): `bundle binstubs sidekiq`
@deborahchua deborahchua marked this pull request as ready for review May 18, 2026 10:05
@deborahchua deborahchua merged commit 7039293 into main May 18, 2026
10 checks passed
@deborahchua deborahchua deleted the update-ruby-to-v4 branch May 18, 2026 10:14
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.

2 participants