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
Solution for Linux.
Ubuntu
sudo apt-get install libqt4-dev libqtwebkit-dev
Debian Stable
sudo apt-get install libqt4-dev
Fedora
yum install qt-webkit-devel
Fedora 16
yum install qtwebkit-devel
This works for me maybe it will be also helpful for somebody.