brew install ackでエラーになる件

ack 2.0がリリースされてたのでHomebrewで入れたらエラーになった件のメモ。

$ brew install ack
==> Downloading http://beyondgrep.com/ack-2.02-single-file
Already downloaded: /Library/Caches/Homebrew/ack-2.02.02-single-file
==> pod2man /usr/local/Cellar/ack/2.02/bin/ack ack.1
Failed to execute: pod2man

READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting

pod2manの実行で死んでるので、実行権限を付けたら成功した。

$ sudo chmod +x /usr/bin/pod2man

$ brew install ack
==> Downloading http://beyondgrep.com/ack-2.02-single-file
Already downloaded: /Library/Caches/Homebrew/ack-2.02.02-single-file
==> pod2man /usr/local/Cellar/ack/2.02/bin/ack ack.1
/usr/local/Cellar/ack/2.02: 3 files, 172K, built in 2 seconds