Skip to content

Instantly share code, notes, and snippets.

@evan-007
Last active Jan 25, 2017
Embed
What would you like to do?
capybara webkit with react

capybara needs qt5 to work with react. OSX probably has qt 4 installed by default.

thoughtbot/capybara-webkit#666

brew uninstall qt
brew install qt5
brew linkapps qt5
brew doctor
gem uninstall capybara-webkit
# use correct path to qt5 version:
# https://github.com/thoughtbot/capybara-webkit/issues/678
QMAKE=/usr/local/Cellar/qt5/5.4.2/bin/qmake bundle install
@StefanoDeVuono
Copy link

StefanoDeVuono commented Jan 19, 2017

brew uninstall qt
brew tap homebrew/versions
brew install qt55
brew linkapps qt55
brew doctor
gem uninstall capybara-webkit
QMAKE=/usr/local/Cellar/qt@5.5/5.5.1/bin/qmake bundle install

@rebeccacaroline
Copy link

rebeccacaroline commented Jan 25, 2017

@evan-007 @StefanoDeVuono, will this work on remote machines, such as Jenkins or SauceLabs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment