aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/tab.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/Library/Homebrew/tab.rb b/Library/Homebrew/tab.rb
index ec80b0204..3dd33302f 100644
--- a/Library/Homebrew/tab.rb
+++ b/Library/Homebrew/tab.rb
@@ -33,7 +33,11 @@ class Tab < OpenStruct
if path.exist?
self.from_file path
else
- self.dummy_tab Formula.factory(keg.parent.basename)
+ begin
+ self.dummy_tab Formula.factory(keg.parent.basename)
+ rescue FormulaUnavailableError
+ Tab.new :used_options => [], :unused_options => []
+ end
end
end