Skip to content

Instantly share code, notes, and snippets.

@evan-007
Last active January 25, 2017 19:28
Show Gist options
  • Save evan-007/bc7ab36df1a20318cdda to your computer and use it in GitHub Desktop.
Save evan-007/bc7ab36df1a20318cdda to your computer and use it in GitHub Desktop.
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/[email protected]/5.5.1/bin/qmake bundle install

@rebeccacaroline
Copy link

@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