Portable Ruby 4.0.5#22357
Merged
Merged
Conversation
Signed-off-by: Patrick Linnane <patrick@linnane.io>
Contributor
There was a problem hiding this comment.
Pull request overview
Updates Homebrew’s vendored Portable Ruby to 4.0.5 to pick up the upstream security fix (CVE-2026-46727 in getaddrinfo), ensuring Homebrew’s runtime Ruby is patched across supported platforms.
Changes:
- Bump Portable Ruby version from 4.0.4 to 4.0.5.
- Update platform-specific Portable Ruby SHA256 values for Linux (x86_64, arm64) and macOS (x86_64, arm64).
- Align
Library/HomebrewRuby version markers (.ruby-version,Gemfile.lock) to 4.0.5.
Reviewed changes
Copilot reviewed 1 out of 7 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| Library/Homebrew/vendor/portable-ruby-version | Bumps vendored portable Ruby version to 4.0.5. |
| Library/Homebrew/vendor/portable-ruby-x86_64-linux | Updates SHA for the x86_64 Linux portable Ruby artifact. |
| Library/Homebrew/vendor/portable-ruby-arm64-linux | Updates SHA for the arm64 Linux portable Ruby artifact. |
| Library/Homebrew/vendor/portable-ruby-x86_64-darwin | Updates SHA for the x86_64 macOS portable Ruby artifact. |
| Library/Homebrew/vendor/portable-ruby-arm64-darwin | Updates SHA for the arm64 macOS portable Ruby artifact. |
| Library/Homebrew/Gemfile.lock | Updates locked Ruby version to 4.0.5. |
| Library/Homebrew/.ruby-version | Updates developer Ruby version to 4.0.5. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
MikeMcQuaid
approved these changes
May 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
brew lgtm(style, typechecking and tests) with your changes locally?Security release to fix https://www.ruby-lang.org/en/news/2026/05/20/getaddrinfo-cve-2026-46727/