Skip to content

Gemfile.lock: match brew's platforms - #1059

Merged
MikeMcQuaid merged 1 commit into
mainfrom
lockfile-platforms
Nov 21, 2026
Merged

MikeMcQuaid merged 1 commit into
mainfrom
lockfile-platforms

Conversation

@p-linnane

Copy link
Copy Markdown
Contributor

Prism 2 publishes precompiled platform gems, so with only ruby in PLATFORMS, frozen installs warn that they are installing platform gems the lockfile doesn't lock. Lock the same platforms as Homebrew/brew instead.


  • Have you checked for other open Pull Requests for the same change?
  • Have you explained what your changes do and why you'd like them included?
  • Have you written new tests where it makes sense?
  • Have you successfully run this repository's tests and checks locally?

  • I did not use AI/LLM to create this PR, or I disclosed the tool/model below and reviewed its output; I did not attribute commits to AI and will answer maintainer questions and review comments myself without AI/LLM.

Claude Opus 5.5 in Claude Code generated the lockfile change with bundle lock --add-platform aarch64-linux-gnu arm64-darwin x86_64-darwin x86_64-linux-gnu --remove-platform ruby and removed the bundler checksum it added. Claude verified it on arm64 macOS by running BUNDLE_FROZEN=true bundle install, which no longer warns, and bundle exec rake, which passed.


Prism 2 publishes precompiled platform gems, so a lockfile that only
lists the ruby platform makes frozen installs warn that it doesn't
lock the gems being installed. Lock the same platforms as
Homebrew/brew instead.

Signed-off-by: Patrick Linnane <patrick@linnane.io>

@MikeMcQuaid MikeMcQuaid left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

@MikeMcQuaid
MikeMcQuaid merged commit aa0a488 into main Nov 21, 2026
19 checks passed
@MikeMcQuaid
MikeMcQuaid deleted the lockfile-platforms branch November 21, 2026 09:06
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