2012-09-16 31 views
4

試圖運行包(現有應用程序,新的機器運行Ubuntu 12.04)。軌捆綁錯誤 - 水豚,WebKit的 - 無法建立原生擴展

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/[email protected]/gems/capybara-webkit-0.12.1 for inspection. 
Results logged to /home/durrantm/.rvm/gems/[email protected]/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. 
+0

什麼是環境你要水豚,WebKit的被安裝到(操作系統等)? –

回答

17

的答案是 「QT」 - :

sudo apt-get install libqt4-dev libqtwebkit-dev 
相關問題