From 208acd8e437e224a7c447008b53af42883a40472 Mon Sep 17 00:00:00 2001 From: Roman Romanov Date: Sun, 9 Feb 2025 20:16:16 +0300 Subject: [PATCH] Fix "can't modify frozen String" error Fix "can't modify frozen String" error if bottle requires Command Line Tools when installing/updating several packages, which causes install/update process failure. --- Library/Homebrew/formula.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 889b6b6f58..1bfd73a0e2 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -4216,7 +4216,7 @@ class Formula lambda do |_| on_macos do T.bind(self, PourBottleCheck) - reason(<<~EOS) + reason(+<<~EOS) The bottle needs the Xcode Command Line Tools to be installed at /Library/Developer/CommandLineTools. Development tools provided by Xcode.app are not sufficient.