If you have already installed the last Mac OS X 10.9 (Mavericks) you should be prepared to face some issues in your development environment. This post is about QT and capybara-webkit.
I spend a day today to find a correct solution how to set the capybara-webkit up to run my acceptance tests. And I found it!
To build a capybara-webkit gem you need a correct QT that supported by Mavericks. The first solution I found was to install a QT 5.2 beta1. I tried to install it by a Homebrew. It took about 30 minutes on my Mac to build a QT package. But «gem install capybara-webkit» was unsuccessful.
The next solution I found works fine for me on MAC OS X 10.9 (Mavericks).
Step by step instruction:
1. brew uninstall qt
2. brew uninstall qt4 (if it was installed)
3. brew uninstall qt5 (if you tried it before)
4. brew uninstall libtiff
5. brew install libtiff
6. brew install -v https://raw.github.com/cliffrowley/homebrew/patched_qt/Library/Formula/qt.rb —HEAD
7. gem install capybara-webkit
And that’s all dudes 🙂
OS X Mavericks, QT and capybara-webkit solution: 2 комментария
Right parameter is «—HEAD», not «-HEAD» 😉
WP replaces double dashes to one long 😦