Created
February 15, 2012 13:45
-
-
Save Irio/1835757 to your computer and use it in GitHub Desktop.
Solution for "Failed to build gem native extension" with capybara-webkit on Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ bundle install | |
Fetching source index for http://rubygems.org/ | |
Using rake (0.9.2.2) | |
Using ZenTest (4.6.2) | |
Using RubyInline (3.11.1) | |
Using sexp_processor (3.0.10) | |
Using ParseTree (3.0.8) | |
Using multi_json (1.0.4) | |
Using activesupport (3.1.3) | |
Using builder (3.0.0) | |
Using i18n (0.6.0) | |
Using activemodel (3.1.3) | |
Using erubis (2.7.0) | |
Using rack (1.3.6) | |
Using rack-cache (1.1) | |
Using rack-mount (0.8.3) | |
Using rack-test (0.6.1) | |
Using hike (1.2.1) | |
Using tilt (1.3.3) | |
Using sprockets (2.0.3) | |
Using actionpack (3.1.3) | |
Using mime-types (1.17.2) | |
Using polyglot (0.3.3) | |
Using treetop (1.4.10) | |
Using mail (2.3.0) | |
Using actionmailer (3.1.3) | |
Using activeresource (3.1.3) | |
Using addressable (2.2.6) | |
Using ansi (1.4.2) | |
Using bcrypt-ruby (3.0.1) | |
Using nokogiri (1.5.0) | |
Using ffi (1.0.11) | |
Using childprocess (0.3.1) | |
Using rubyzip (0.9.5) | |
Using selenium-webdriver (2.19.0) | |
Using xpath (0.1.4) | |
Using capybara (1.1.2) | |
Using json (1.6.5) | |
Installing capybara-webkit (0.9.0) with native extensions | |
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. | |
/home/irio/.rvm/rubies/ruby-1.9.2-p290/bin/ruby extconf.rb | |
Gem files will remain installed in /home/irio/.rvm/gems/ruby-1.9.2-p290@my_training/gems/capybara-webkit-0.9.0 for inspection. | |
Results logged to /home/irio/.rvm/gems/ruby-1.9.2-p290@my_training/gems/capybara-webkit-0.9.0/./gem_make.out | |
An error occured while installing capybara-webkit (0.9.0), and Bundler cannot continue. | |
Make sure that `gem install capybara-webkit -v '0.9.0'` succeeds before bundling. | |
Solution: | |
$ sudo apt-get install libqt4-dev |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sorry, i am asking same question..
i am getting same error even i installed libqt4-dev..
please help me