gpt4 book ai didi

ruby-on-rails - rails bundle 错误 - capybara-webkit - 无法构建 native 扩展

转载 作者:太空宇宙 更新时间:2023-11-03 16:50:39 24 4
gpt4 key购买 nike

尝试运行 bundle(现有应用程序,运行 Ubuntu 12.04 的新机器)。

Installing capybara-webkit (0.12.1) with native extensions 
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

/home/durrantm/.rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb


Gem files will remain installed in /home/durrantm/.rvm/gems/ruby-1.9.3-p194@dmstaffing/gems/capybara-webkit-0.12.1 for inspection.
Results logged to /home/durrantm/.rvm/gems/ruby-1.9.3-p194@dmstaffing/gems/capybara-webkit-0.12.1/./gem_make.out
An error occurred while installing capybara-webkit (0.12.1), and Bundler cannot continue.
Make sure that `gem install capybara-webkit -v '0.12.1'` succeeds before bundling.

最佳答案

答案是“qt”-:

sudo apt-get install libqt4-dev libqtwebkit-dev

关于ruby-on-rails - rails bundle 错误 - capybara-webkit - 无法构建 native 扩展,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12448432/

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