iridakos / duckrails

Development tool to mock API endpoints quickly and easily (docker image available)
https://github.com/iridakos/duckrails/wiki
MIT License
1.72k stars 108 forks source link

Can't install capybara-webkit because of lack of support from Qt 5.6+ #72

Closed cesc1989 closed 8 months ago

cesc1989 commented 3 years ago

I was trying to install the project natively but face complications because of capybara-webkit dependencies.

First, I had to install Qt to be able to install the gem:

$ gem install capybara-webkit -v '1.14.0' --source 'https://rubygems.org/'

but got this other error:

Project ERROR: No QtWebKit installation found. QtWebKit is no longer included with Qt 5.6, so you may need to install it separately.

I found that capybara-webkit was discontinued because Qt dropped some important dependencies.

Development has been suspended on this project because QtWebKit was deprecated in favor of QtWebEngine, which is not a suitable replacement for our purposes.

We instead recommend using the Selenium or Apparition drivers.

This issue comment links to a workaround but not worthy.

Posting here for reference as I couldn't find any issue about this.