From fec561b4a430d8cf6124bb07ccff610d46ba65ea Mon Sep 17 00:00:00 2001 From: Matthew Kocher Date: Wed, 15 Jul 2026 17:53:23 -0700 Subject: [PATCH] fix ruby 4 checksum 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. --- src/compile-4.0.env | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compile-4.0.env b/src/compile-4.0.env index 962a5bf..23516a8 100644 --- a/src/compile-4.0.env +++ b/src/compile-4.0.env @@ -19,6 +19,7 @@ bosh_bundle() { bundle config set --local without 'development test' bundle config set --local path "${BOSH_INSTALL_TARGET}/gem_home" bundle config set --local bin "${BOSH_INSTALL_TARGET}/bin" + bundle config set --local lockfile_checksums false bundle install "$@"