capybara-webkitをインストールしようとしたところ、qmakeが必要だったのでhomebrew経由でインストールしようとしたところ、qt4もqt5もエラーでインストールできません。
homebrewのissueを探していたところ以下のエントリーを参考にインストールが出来ました。
https://github.com/mxcl/homebrew/issues/21608
ただ、最後をみればわかる通りMacBook Air2013(Corei5/1.3G Mem8G)でも1時間以上かかってるのでインストールにはそれなりの覚悟が必要です。
$ brew install https://raw.github.com/cliffrowley/homebrew/patched_qt/Library/Formula/qt.rb --HEAD
######################################################################## 100.0%
==> Cloning git://gitorious.org/qt/qt.git
Cloning into '/Library/Caches/Homebrew/qt--git'...
remote: Counting objects: 46736, done.
remote: Compressing objects: 100% (29696/29696), done.
remote: Total 46736 (delta 15643), reused 42171 (delta 14249)
Receiving objects: 100% (46736/46736), 161.35 MiB | 404.00 KiB/s, done.
Resolving deltas: 100% (15643/15643), done.
Checking connectivity... done
Checking out files: 100% (46944/46944), done.
==> Checking out branch 4.8
==> Downloading patches
######################################################################## 100.0%
==> Patching
patching file src/3rdparty/webkit/Source/WebKit/qt/QtWebKit.pro
==> Downloading http://trac.webkit.org/export/157771/trunk/WebKitLibraries/libWebKitSystemInterfaceMavericks.a
######################################################################## 100.0%
==> ./configure -prefix /usr/local/Cellar/qt/HEAD -system-zlib -confirm-license -opensource -nomake demos -nomake examples -cocoa -
==> make
==> make install
==> Caveats
We agreed to the Qt opensource license for you.
If this is unacceptable you should uninstall.
==> Summary
/usr/local/Cellar/qt/HEAD: 2776 files, 118M, built in 72.4 minutes