Questions: I am new to ruby, but while trying to install capybara to run test on my system I get the following error. Im running OSX my_app$ gem install capybara-webkit Building native extensions. This could take a while. ERROR: Error installing capybara-webkit: ERROR: Failed to build gem native extension. /Users/joe/.rvm/rubies/ruby-1.9.2-p290/bin/ruby extconf.rb Gem files will remain installed in /Users/joe/.rvm/gems/ruby-1.9.2-p290/gems/capybara-webkit-0.7.2 for inspection. Results logged to /Users/joe/.rvm/gems/ruby-1.9.2-p290/gems/capybara-webkit-0.7.2/./gem_make.out here are results from gem_make.out /Users/joe/.rvm/rubies/ruby-1.9.2-p290/bin/ruby extconf.rb. Install Capybara Webkit Gem For MachineMacOS Sierra 10.12, El Capitan 10.11 and Yosemite 10.10 Install with either homebrew or macports Homebrew Qt 5.5 is the last version of Qt that capybara-webkit will support. The Qt project has dropped the WebKit bindings from binary releases in 5.6. Install Qt 5.5 with homebrew: brew install [email protected] The Homebrew formula for qt55 is keg only which means binaries like qmake will not be symlinked into your /usr/local/bin directory and therefore will not be available for capybara-webkit. To force Homebrew to symlink those binaries into your /usr/local/bin directory you can run: brew link --force qt55 After running this command you should get the following output: $ which qmake /usr/local/bin/qmake Macports Install qt5 with macports: sudo port install qt5 qt5-qtwebkit # It's not qt5-mac anymore. WhatsApp Messenger: More than 1 billion people in over 180 countries use WhatsApp to stay in touch with friends and family, anytime and anywhere. WhatsApp is free and offers simple, secure, reliable messaging and calling, available on phones all over the world. https://inaboxkindl300.weebly.com/blog/whatsapp-desktop-apps-for-mac. The default location for qt5’s qmake is /opt/local/libexec/qt5/bin/qmake. If the qmake on path is different, you can indicate the correct one with QMAKE environment variable. QMAKE=/opt/local/libexec/qt5/bin/qmake gem install capybara-webkit. ![]() Capybara Webkit
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |