Skip to content

fix ruby 4 checksum issue#68

Merged
mkocher merged 1 commit into
mainfrom
fix-ruby-4
Jul 16, 2026
Merged

fix ruby 4 checksum issue#68
mkocher merged 1 commit into
mainfrom
fix-ruby-4

Conversation

@mkocher

@mkocher mkocher commented Jul 16, 2026

Copy link
Copy Markdown
Member

In certain situations (like the bosh director) bundler will not write a checksum to the lockfile at compile time and will then try to update the lockfile at runtime when it is mounted read only. Disabling writing checksums prevents this from being an issue.

In certain situations (like the bosh director) bundler will not write a
checksum to the lockfile at compile time and will then try to update the
lockfile at runtime when it is mounted read only.  Disabling writing checksums
prevents this from being an issue.
@aramprice aramprice requested a review from Copilot July 16, 2026 01:26

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Ruby 4.0 compile-time Bundler configuration to avoid runtime attempts to rewrite Gemfile.lock (notably when the release is run in environments where the lockfile is mounted read-only, such as a BOSH director).

Changes:

  • Set bundle config set --local lockfile_checksums false in the Ruby 4.0 bosh_bundle() helper so Bundler won’t try to add/write lockfile checksums later at runtime.

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

@github-project-automation github-project-automation Bot moved this from Inbox to Pending Merge | Prioritized in Foundational Infrastructure Working Group Jul 16, 2026
@mkocher mkocher merged commit 2e75f01 into main Jul 16, 2026
3 checks passed
@mkocher mkocher deleted the fix-ruby-4 branch July 16, 2026 02:44
@github-project-automation github-project-automation Bot moved this from Pending Merge | Prioritized to Done in Foundational Infrastructure Working Group Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants