Error installing gem capybara-webkit

后端 未结 14 820
面向向阳花
面向向阳花 2020-12-23 10:43

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         


        
14条回答
  •  旧时难觅i
    2020-12-23 11:39

    Here are the complete steps to install Capybara-webkit in all the OS

    1. Install QT - http://qt-project.org/downloads

      brew update brew install qt

    2. ln -s /usr/local/Cellar/qt5/5.4.1/bin/qmake /usr/local/bin/qmake

    3. sudo port install qt4-mac-devel

    Reference: Capybara Installation

提交回复
热议问题