From ca90f9866a54fc7886cf99d89707ec2ac026b3f2 Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Sun, 5 Nov 2023 09:20:34 -0800 Subject: [PATCH] Resolve type error --- Library/Homebrew/formula_installer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index 891e3209d5..41ec3200b5 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -175,7 +175,7 @@ class FormulaInstaller unless bottle.compatible_locations? if output_warning - prefix = Pathname(bottle.cellar).parent + prefix = Pathname(bottle.cellar.to_s).parent opoo <<~EOS Building #{formula.full_name} from source as the bottle needs: - HOMEBREW_CELLAR: #{bottle.cellar} (yours is #{HOMEBREW_CELLAR})