OS X Mavericks, QT and capybara-webkit solution

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 комментария

Добавить комментарий

Заполните поля или щелкните по значку, чтобы оставить свой комментарий:

Логотип WordPress.com

Для комментария используется ваша учётная запись WordPress.com. Выход /  Изменить )

Фотография Facebook

Для комментария используется ваша учётная запись Facebook. Выход /  Изменить )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.