From 89990349813d9c93beb8ca8c74f78798a1bea01e Mon Sep 17 00:00:00 2001 From: ilovezfs Date: Wed, 23 Mar 2016 09:20:50 -0700 Subject: [PATCH] FormulaInstaller: rescue tap unavail for reqs too Calling `compute_dependencies` will make sure both requirements and dependencies are expanded, so that any referenced taps can be auto-tapped. Prior to this commit only dependencies were expanded for the sake of auto-tapping, so dependencies of requirements would cause installation to fail whenever a tap unavailable exception was encountered. Closes #50271 Closes #50281. Signed-off-by: ilovezfs --- 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 5f66b93e7a45..aa8a28b8c581 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -126,7 +126,7 @@ def prelude def verify_deps_exist begin - formula.recursive_dependencies.map(&:to_formula) + compute_dependencies rescue TapFormulaUnavailableError => e if e.tap.installed? raise