I am new to ruby, but while trying to install capybara to run test on my system I get the following error. Im running OSX
my_app$ gem install capybara-webkit
Here are the complete steps to install Capybara-webkit in all the OS
Capybara-webkit
Install QT - http://qt-project.org/downloads
brew update brew install qt
ln -s /usr/local/Cellar/qt5/5.4.1/bin/qmake /usr/local/bin/qmake
sudo port install qt4-mac-devel
Reference: Capybara Installation