Skip to content

Portable Ruby 4.0.2#21816

Merged
p-linnane merged 1 commit intomainfrom
portable-ruby-4.0.2
Mar 25, 2026
Merged

Portable Ruby 4.0.2#21816
p-linnane merged 1 commit intomainfrom
portable-ruby-4.0.2

Conversation

@p-linnane
Copy link
Copy Markdown
Member


  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same change?
  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests (excluding integration tests) for your changes? Here's an example.
  • Have you successfully run brew lgtm (style, typechecking and tests) with your changes locally?

  • AI was used to generate or assist with generating this PR. Please specify below how you used AI to help you, and what steps you have taken to manually verify the changes.

Copilot AI review requested due to automatic review settings March 24, 2026 02:09
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates Homebrew’s vendored Portable Ruby metadata to 4.0.2 and aligns repository Ruby tooling configuration to the new runtime.

Changes:

  • Bump Portable Ruby version from 4.0.1 to 4.0.2 and update platform bottle SHAs.
  • Update Gemfile.lock Ruby version and Bundler lock version.
  • Update RuboCop TargetRubyVersion and the repo .ruby-version to Ruby 4.0.2.

Reviewed changes

Copilot reviewed 2 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
Library/Homebrew/vendor/portable-ruby-x86_64-linux Updates Portable Ruby bottle SHA for x86_64 Linux.
Library/Homebrew/vendor/portable-ruby-x86_64-darwin Updates Portable Ruby bottle SHA for x86_64 macOS.
Library/Homebrew/vendor/portable-ruby-arm64-linux Updates Portable Ruby bottle SHA for arm64 Linux.
Library/Homebrew/vendor/portable-ruby-arm64-darwin Updates Portable Ruby bottle SHA for arm64 macOS.
Library/Homebrew/vendor/portable-ruby-version Bumps the Portable Ruby version to 4.0.2.
Library/Homebrew/Gemfile.lock Updates Ruby version and BUNDLED WITH version.
Library/Homebrew/.ruby-version Updates local/dev Ruby version pin to 4.0.2.
Library/.rubocop.yml Updates RuboCop TargetRubyVersion to 4.0.

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

@p-linnane p-linnane force-pushed the portable-ruby-4.0.2 branch from 49495c3 to b9d706c Compare March 24, 2026 02:20
Comment thread Library/Homebrew/rust/brew-rs/Rakefile
@Bo98
Copy link
Copy Markdown
Member

Bo98 commented Mar 24, 2026

We don't ship rake with Portable Ruby as we've never actually needed it. Adding a Gemfile with gem "rake" paired with bundler-cache: true in the setup-ruby action might be the easiest solution but other alternatives are possible such as direct gem install rake steps.

@p-linnane p-linnane force-pushed the portable-ruby-4.0.2 branch from f5ace4f to 49eaaad Compare March 24, 2026 03:21
@p-linnane
Copy link
Copy Markdown
Member Author

@Bo98 I had the same thought, and pushed here. Will let @MikeMcQuaid make the final call though.

@MikeMcQuaid
Copy link
Copy Markdown
Member

We don't ship rake with Portable Ruby as we've never actually needed it.

Would be nice to ship with it now I think. We were already using it in a few places and just added another.

Signed-off-by: Patrick Linnane <patrick@linnane.io>
@p-linnane p-linnane force-pushed the portable-ruby-4.0.2 branch from c66e219 to a3bc74c Compare March 25, 2026 17:43
@p-linnane
Copy link
Copy Markdown
Member Author

I've bundled rake with Portable Ruby and reran with the new bottles.

@p-linnane p-linnane enabled auto-merge March 25, 2026 17:53
@p-linnane p-linnane added this pull request to the merge queue Mar 25, 2026
Merged via the queue into main with commit 86fe878 Mar 25, 2026
52 of 53 checks passed
@p-linnane p-linnane deleted the portable-ruby-4.0.2 branch March 25, 2026 18:32
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.

5 participants