OS X MavericksにUpdateしたら Homebrewがアレになっちゃった場合の対処方法
どうやらXcodeがMavericsに対応していないのが原因のようなので、Xcode5.0.1にUpdateしてみる。
Xcode5.0.1
Includes SDKs for OS X 10.9 Mavericks, OS X 10.8 Mountain Lion, and iOS 7.
https://itunes.apple.com/us/app/xcode/id497799835?ls=1&mt=12
そんでもって brew update。
brew doctor
Your system is ready to brew.
直ったみたい。自己責任でど(ry
一応gitをHomebrewでインストールして動作確認してみた。ちゃんと動いてますね。
brew install git
==> Downloading http://git-core.googlecode.com/files/git-1.8.4.1.tar.gz
######################################################################## 100.0%
==> make prefix=/usr/local/Cellar/git/1.8.4.1 sysconfdir=/usr/local/etc CC=cc CF
==> make CC=cc CFLAGS= LDFLAGS=
==> make clean
==> make CC=cc CFLAGS= LDFLAGS=
==> Downloading http://git-core.googlecode.com/files/git-manpages-1.8.4.1.tar.gz
######################################################################## 100.0%
==> Downloading http://git-core.googlecode.com/files/git-htmldocs-1.8.4.1.tar.gz
######################################################################## 100.0%
==> Caveats
The OS X keychain credential helper has been installed to:
/usr/local/bin/git-credential-osxkeychain
The 'contrib' directory has been installed to:
/usr/local/share/git-core/contrib
Bash completion has been installed to:
/usr/local/etc/bash_completion.d
zsh completion has been installed to:
/usr/local/share/zsh/site-functions
==> Summary
🍺 /usr/local/Cellar/git/1.8.4.1: 1341 files, 28M, built in 50 seconds
/usr/local/bin/git --version
git version 1.8.4.1