Error installing gem capybara-webkit

后端 未结 14 867
面向向阳花
面向向阳花 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条回答
  •  滥情空心
    2020-12-23 11:22

    I was able to get qt and capybara-webkit installed and working on OS X. I had to install Xcode so the build for

    gem install capybara-webkit

    would finish.

    I also set this in my environment

    Capybara.javascript_driver = :webkit

    brew install qt5 to get latest qt.

    The docs for it say that it conflicts with qt4, so be sure to remove that first with

    brew uninstall [old qt]

    Then it needs to be symlinked with

    brew link --force qt5

提交回复
热议问题