需要Qt版本5的capybara-webkit的弃用警告

当我运行rspec时,我收到以下消息:

The next major version of capybara-webkit will require at least version 5.0 of Qt. You're using version 4.8.6.

我不知道我在使用Qt,所以不知道升级它的含义。

如何进行升级以及在此之前应采取哪些预防措施?

equaleffect上面的评论让我得到了ImNaN的回答 ,即

 Comment out the capybara and capybara-webkit gems from your gemfile. Then: bundle gem uninstall capybara-webkit gem uninstall capybara # if it complains about dependencies 'gem uninstall' them first brew remove qt brew remove qt5 # if you've been playing around From a clean environment (restart your terminal): brew install qt5 brew linkapps qt5 brew link --force qt5 Uncomment capybara and capybara-webkit in the gemfile and then: bundle install