20
20

More than 5 years have passed since last update.

メモ)brew updateでエラーを吐かれた

Posted at

brew updateでエラーを吐かれたのでメモ。
Homebrewのgithubには6日前(2015/8/6)にissueあがってた。
エラー出てももう一度updateすれば大丈夫みたい。

参考

Error: uninitialized constant Formulary::HOMEBREW_CORE_FORMULA_REGEX #42553
https://github.com/Homebrew/homebrew/issues/42553

エラー内容

$ 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>'

やったこと

$ brew --version
0.9.5

$ brew update
Updated Homebrew from 000000fb to 000000fb.
...

$ brew update
Already up-to-date.
20
20
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
20
20