Error: uninitialized constant Formulary::HOMEBREW_CORE_FORMULA_REGEX

MacのHomebrewでアップデートをかけると、またもや下記のエラー

Error: uninitialized constant Formulary::HOMEBREW_CORE_FORMULA_REGEX

$ brew update

Error: uninitialized constant Formulary::HOMEBREW_CORE_FORMULA_REGEX Please report this bug: https://git.io/brew-troubleshooting /usr/local/Library/Homebrew/formulary.rb:227:in loader_for' /usr/local/Library/Homebrew/formulary.rb:176:in factory’ /usr/local/Library/Homebrew/cmd/update.rb:173:in block in report' /usr/local/Library/Homebrew/cmd/update.rb:159:in each_line’ /usr/local/Library/Homebrew/cmd/update.rb:159:in report' /usr/local/Library/Homebrew/cmd/update.rb:24:in update’ /usr/local/Library/brew.rb:140:in `<main>‘

gitのトラブルシューティングを見ろとの事で、https://github.com/Homebrew/homebrew/issues/42553に書いてありました。

もう一度、brew updateをかければ良いみたいです。

$ brew --version
0.9.5
$ brew update
Already up-to-date.

See also