3
當我們安裝gem:$ gem install capybara-webkit時,出現以下錯誤,請幫忙;無法安裝寶石水豚-webkit
$ gem install capybara-webkit
Building native extensions. This could take a while...
ERROR: Error installing capybara-webkit:
ERROR: Failed to build gem native extension.
/home/zapbuild/.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/zapbuild/.rvm/gems/ruby-2.1.0/gems/capybara-webkit-1.1.1 for inspection.
Results logged to /home/zapbuild/.rvm/gems/ruby-2.1.0/extensions/x86-linux/2.1.0/capybara-webkit-1.1.1/gem_make.out
是否遵循https://github.com/thoughtbot運行此命令
/capybara-webkit/wiki /安裝-QT-and-compiling-capybara-webkit? (水豚-webkit需要QT) – tight