Error installing gem capybara-webkit

后端 未结 14 806
面向向阳花
面向向阳花 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:34

    On OSX Mavericks 10.9, qt5 does not install qmake. This post was the only thing that worked for me.

    Step 1: Download Qt 5.2.0-beta-1-clang HERE.

    Step 2: Install it and include the Src files.

    Step 3: Symlink qmake into your /bin directory from the location where you installed Qt. The default location is in your home directory. Open a shell and do something like:

     ln -s /Path/to/where/you/installed/Qt5.2/5.2.0-beta1/clang_64/bin/qmake /usr/local/bin/qmake
    

    Then gem install capybara-webkit.

提交回复
热议问题