capybara-webkitがGemfileに含まれるプロジェクトでbundle installしたら以下のエラー。
Command 'qmake ' not available
「あ、まだqt入れてなかった」と気付き、capybara-webkitのwiki「Installing Qt and compiling capybara webkit」を見ながらインストール
この状態でもう一度bundle installを行うも再度同じエラー。
さらにググってみると同じエラーっぽい方のissueが。
これに従いxcodeのインストール後
$ sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
を実行
その後bundle installして無事インストール完了。