brew updateでエラーが出たので対処方法メモ
タイトル通り。
ちなみに、出たエラーは、
Error: undefined method `to_sym' for nil:NilClass
Please report this bug:
https://github.com/mxcl/homebrew/wiki/troubleshooting
/usr/local/Library/Homebrew/cmd/update.rb:112:in `report'
/usr/local/Library/Homebrew/cmd/update.rb:110:in `each_line'
/usr/local/Library/Homebrew/cmd/update.rb:110:in `report'
/usr/local/Library/Homebrew/cmd/update.rb:26:in `update'
/usr/local/Library/brew.rb:87:in `send'
/usr/local/Library/brew.rb:87
ちょっと古すぎたんかなって:;(∩´﹏`∩);:
こっちのPCで久々だったし:;(∩´﹏`∩);:
ごめんなさい、ごめんなさい:;(∩´﹏`∩);:
以下のコマンドで解消。
cd `brew --prefix`
git fetch origin
git reset --hard origin/master
brew update
最後のコマンドで
Already up-to-date.
と出たので、公式git上に上がっているのと
同じ状態になったよってことで解消⊂二二二( ^ω^)二⊃ git, ベンリ☆