El Capitan 10.11.2

アップデートしろとうるさかったのでEl capitanをアップデートした。 ぶっちゃけYosemiteの方が安定していた気がする

OSのアップグレードと言えばbrewの調子を見ておくのが日課なので

とりあえず

$ brew update
$ brew doctor

でアップデート後の調子を見てみると

Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!

Warning: You have external commands with conflicting names.

Found command `brew-cask` in following places:
    /usr/local/bin/brew-cask
    /usr/local/Library/Taps/caskroom/homebrew-cask/cmd/brew-cask.rb

とかwarningが出る。はて…

とりあえずbrew-caskに問題があるのかなと思ったんで強硬手段。

$ brew unlink brew-cask
Unlinking /usr/local/Cellar/brew-cask/0.59.0... 2 symlinks removed

うーん…多分unlinkしなくても行けたんだと思うんだけど…良くわからない…

んで

 $ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!

Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
    brew-cask

brew-caskが無いからlinkはれって怒られる。一応unlinkしちゃったからもう1回installしてみる

$ brew install brew-cask
==> Installing brew-cask from caskroom/cask
==> Cloning https://github.com/caskroom/homebrew-cask.git
Updating /Library/Caches/Homebrew/brew-cask--git
==> Checking out tag v0.60.0
==> Caveats
You can uninstall this formula as `brew tap Caskroom/cask` is now all that's
needed to install Homebrew Cask and keep it up to date.
==> Summary

なんとなく成功したのか…?

一応確認したけど

$brew doctor
Your system is ready to brew.

出来たのか…ん〜。しっくり来ない