gpt4 book ai didi

ruby-on-rails - 错误 : Error installing capybara-webkit:

转载 作者:数据小太阳 更新时间:2023-10-29 06:17:39 25 4
gpt4 key购买 nike

关于如何修复有什么建议吗?

gem install capybara-webkit -v '0.11.0'
Building native extensions. This could take a while...
ERROR: Error installing capybara-webkit:
ERROR: Failed to build gem native extension.

/home/durrantm/.rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb
sh: qmake: not found


Gem files will remain installed in /home/durrantm/.rvm/gems/ruby-1.9.3-p194/gems/capybara-webkit-0.11.0 for inspection.
Results logged to /home/durrantm/.rvm/gems/ruby-1.9.3-p194/gems/capybara-webkit-0.11.0/./gem_make.out

最佳答案

如果你使用的是 Ubuntu

sudo apt-get install qt4-dev-tools libqt4-dev libqt4-core libqt4-gui

如果你在 Mac 上

brew install qt

然后

gem install capybara-webkit -v '0.11.0'

关于ruby-on-rails - 错误 : Error installing capybara-webkit:,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11354656/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com