From 38112a6745f82de2f6885e18a9c1307c2b56b994 Mon Sep 17 00:00:00 2001 From: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> Date: Sun, 8 Sep 2024 02:50:30 +0800 Subject: [PATCH 1/2] rbenv: build an `:all` bottle We can build one if we made the `inreplace` unconditional. --- Formula/r/rbenv.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Formula/r/rbenv.rb b/Formula/r/rbenv.rb index 8e3fe67e068f..de0d2963bca5 100644 --- a/Formula/r/rbenv.rb +++ b/Formula/r/rbenv.rb @@ -21,9 +21,8 @@ class Rbenv < Formula uses_from_macos "ruby" => :test def install - inreplace "libexec/rbenv" do |s| - s.gsub! ":/usr/local/etc/rbenv.d", ":#{HOMEBREW_PREFIX}/etc/rbenv.d\\0" if HOMEBREW_PREFIX.to_s != "/usr/local" - end + # Build an `:all` bottle. + inreplace "libexec/rbenv", "/usr/local", HOMEBREW_PREFIX if build.head? # Record exact git revision for `rbenv --version` output From 2c8e18a889b98043677ef9d8b250cb0cd18863dc Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Sun, 8 Sep 2024 12:25:05 +0000 Subject: [PATCH 2/2] rbenv: update 1.3.0 bottle. --- Formula/r/rbenv.rb | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Formula/r/rbenv.rb b/Formula/r/rbenv.rb index de0d2963bca5..b40728380ebb 100644 --- a/Formula/r/rbenv.rb +++ b/Formula/r/rbenv.rb @@ -7,13 +7,8 @@ class Rbenv < Formula head "https://github.com/rbenv/rbenv.git", branch: "master" bottle do - sha256 cellar: :any_skip_relocation, arm64_sonoma: "6a9437cf6a6933473161ddcfcc9f9f8214ccbf8b1fcbf35e21662712dcfb80f3" - sha256 cellar: :any_skip_relocation, arm64_ventura: "6a9437cf6a6933473161ddcfcc9f9f8214ccbf8b1fcbf35e21662712dcfb80f3" - sha256 cellar: :any_skip_relocation, arm64_monterey: "6a9437cf6a6933473161ddcfcc9f9f8214ccbf8b1fcbf35e21662712dcfb80f3" - sha256 cellar: :any_skip_relocation, sonoma: "75461707772b43f2f3037a2176b820d9fe3039fb9255487f7d8d1f8e88a051f9" - sha256 cellar: :any_skip_relocation, ventura: "75461707772b43f2f3037a2176b820d9fe3039fb9255487f7d8d1f8e88a051f9" - sha256 cellar: :any_skip_relocation, monterey: "75461707772b43f2f3037a2176b820d9fe3039fb9255487f7d8d1f8e88a051f9" - sha256 cellar: :any_skip_relocation, x86_64_linux: "494c38f6026ed28e4fce71a2a75b2f4a612fa99711a5bd0d4dcc37c233bcbec4" + rebuild 1 + sha256 cellar: :any_skip_relocation, all: "8c1ae8d76748e0140a458cd4c83b2f6ed83da17777940f7878ce5348ede8aeff" end depends_on "ruby-build"