ubuntu-12.04 – 构建capybara-webkit时出错

前端之家收集整理的这篇文章主要介绍了ubuntu-12.04 – 构建capybara-webkit时出错前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我想在ubuntu 12.04上安装capybara-webkit,但是我收到了这个错误
$gem install capybara-webkit -v '1.0.0'
Building native extensions.  This could take a while...
ERROR:  Error installing capybara-webkit:
    ERROR: Failed to build gem native extension.

    /home/samir/.rvm/rubies/ruby-2.1.0/bin/ruby extconf.rb
Command 'qmake -spec linux-g++' not available

Makefile not found

Gem files will remain installed in /home/samir/.rvm/gems/ruby-2.1.0@dcaclab/gems/capybara-webkit-1.0.0 for inspection.
Results logged to /home/samir/.rvm/gems/ruby-2.1.0@dcaclab/extensions/x86-linux/2.1.0/capybara-webkit-1.0.0/gem_make.out

任何的想法?

你需要qmake,它来自QT(capybara-webkit的依赖).

capybara-webkit维基有关于在各种系统上安装Qt和capybara-webkit的说明:https://github.com/thoughtbot/capybara-webkit/wiki/Installing-Qt-and-compiling-capybara-webkit

原文链接:https://www.f2er.com/ubuntu/347497.html

猜你在找的Ubuntu相关文章