当我bundle install时,我得到:
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/usr/bin/ruby2.1 extconf.rb
Command 'qmake -spec linux-g++ ' not available
Makefile not found
Gem files will remain installed in /tmp/bundler20141128-11764-1rcu7gh/capybara-w
ebkit-1.3.0/gems/capybara-webkit-1.3.0 for inspection.
Results logged to /tmp/bundler20141128-11764-1rcu7gh/capybara-webkit-1.3.0/exten
sions/x86-linux/2.1.0/capybara-webkit-1.3.0/gem_make.out
An error occurred while installing capybara-webkit (1.3.0), and Bundler cannot
continue.
Make sure that `gem install capybara-webkit -v '1.3.0'` succeeds before
bundling.有什么想法吗?
发布于 2015-10-05 19:50:00
这可能有点晚了,但我遇到了一个类似的问题:在我的本地开发机器上运行一个遗留的Rails应用程序,运行Debian。结果表明,它不仅需要qmake和一个qt默认包,而且它还特别要求qt4-qmake和qt4-默认;qt5-qmake和qt5-默认将不起作用。也许OP的问题围绕着缺少qmake以及相关发行版上存在与Debian的Qt默认包相当的内容,或者为qmake和qt默认选择了错误的qt版本。
https://stackoverflow.com/questions/27194295
复制相似问题