Installing capybara-webkit gem on Ubuntu 16.04

I was not able to install capybara-webkit gem on Ubuntu 16.04. I tried to follow the instructions mentioned in the gem wiki to solve this problem.sudo apt-get update sudo apt-get install g++ qt5-default libqt5webkit5-dev gstreamer1.0-plugins-base gstreamer1.0-tools gstreamer1.0-xThen it gave an error saying that the package…