Skip to content

Instantly share code, notes, and snippets.

@alexgodin
Created June 1, 2011 18:16
Show Gist options
  • Save alexgodin/1002913 to your computer and use it in GitHub Desktop.
Save alexgodin/1002913 to your computer and use it in GitHub Desktop.
Capybara webkit issue
Installing capybara-webkit (0.4.0) with native extensions /Users/alex/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:533:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
/Users/alex/.rvm/rubies/ruby-1.9.2-p180/bin/ruby extconf.rb
Gem files will remain installed in /Users/alex/.rvm/gems/ruby-1.9.2-p180@fishes/gems/capybara-webkit-0.4.0 for inspection.
Results logged to /Users/alex/.rvm/gems/ruby-1.9.2-p180@fishes/gems/capybara-webkit-0.4.0/./gem_make.out
from /Users/alex/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:511:in `block in build_extensions'
from /Users/alex/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:486:in `each'
from /Users/alex/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:486:in `build_extensions'
from /Users/alex/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:159:in `install'
from /Users/alex/.rvm/gems/ruby-1.9.2-p180@fishes/gems/bundler-1.0.14/lib/bundler/source.rb:101:in `block in install'
from /Users/alex/.rvm/gems/ruby-1.9.2-p180@fishes/gems/bundler-1.0.14/lib/bundler/rubygems_integration.rb:78:in `preserve_paths'
from /Users/alex/.rvm/gems/ruby-1.9.2-p180@fishes/gems/bundler-1.0.14/lib/bundler/source.rb:91:in `install'
from /Users/alex/.rvm/gems/ruby-1.9.2-p180@fishes/gems/bundler-1.0.14/lib/bundler/installer.rb:58:in `block (2 levels) in run'
from /Users/alex/.rvm/gems/ruby-1.9.2-p180@fishes/gems/bundler-1.0.14/lib/bundler/rubygems_integration.rb:93:in `with_build_args'
from /Users/alex/.rvm/gems/ruby-1.9.2-p180@fishes/gems/bundler-1.0.14/lib/bundler/installer.rb:57:in `block in run'
from /Users/alex/.rvm/gems/ruby-1.9.2-p180@fishes/gems/bundler-1.0.14/lib/bundler/spec_set.rb:12:in `block in each'
from /Users/alex/.rvm/gems/ruby-1.9.2-p180@fishes/gems/bundler-1.0.14/lib/bundler/spec_set.rb:12:in `each'
from /Users/alex/.rvm/gems/ruby-1.9.2-p180@fishes/gems/bundler-1.0.14/lib/bundler/spec_set.rb:12:in `each'
from /Users/alex/.rvm/gems/ruby-1.9.2-p180@fishes/gems/bundler-1.0.14/lib/bundler/installer.rb:49:in `run'
from /Users/alex/.rvm/gems/ruby-1.9.2-p180@fishes/gems/bundler-1.0.14/lib/bundler/installer.rb:8:in `install'
from /Users/alex/.rvm/gems/ruby-1.9.2-p180@fishes/gems/bundler-1.0.14/lib/bundler/cli.rb:270:in `update'
from /Users/alex/.rvm/gems/ruby-1.9.2-p180@fishes/gems/bundler-1.0.14/lib/bundler/vendor/thor/task.rb:22:in `run'
from /Users/alex/.rvm/gems/ruby-1.9.2-p180@fishes/gems/bundler-1.0.14/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'
from /Users/alex/.rvm/gems/ruby-1.9.2-p180@fishes/gems/bundler-1.0.14/lib/bundler/vendor/thor.rb:246:in `dispatch'
from /Users/alex/.rvm/gems/ruby-1.9.2-p180@fishes/gems/bundler-1.0.14/lib/bundler/vendor/thor/base.rb:389:in `start'
from /Users/alex/.rvm/gems/ruby-1.9.2-p180@fishes/gems/bundler-1.0.14/bin/bundle:13:in `<top (required)>'
from /Users/alex/.rvm/gems/ruby-1.9.2-p180@fishes/bin/bundle:19:in `load'
from /Users/alex/.rvm/gems/ruby-1.9.2-p180@fishes/bin/bundle:19:in `<main>'
@iamrukia
Copy link

I got exact the same error

Installing capybara-webkit (1.0.0.beta3) with native extensions /home/shanan/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:533:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)

    /home/shanan/.rvm/rubies/ruby-1.9.2-p180/bin/ruby extconf.rb 

Gem files will remain installed in /home/shanan/.rvm/gems/ruby-1.9.2-p180@mple/gems/capybara-webkit-1.0.0.beta3 for inspection.
Results logged to /home/shanan/.rvm/gems/ruby-1.9.2-p180@mple/gems/capybara-webkit-1.0.0.beta3/./gem_make.out

while in ...
./gem_make.out, there is only:
/home/shanan/.rvm/rubies/ruby-1.9.2-p180/bin/ruby extconf.rb

@alexgodin
Copy link
Author

This is issue is solved by installing the qt library here: http://qt.nokia.com/downloads/qt-for-open-source-cpp-development-on-mac-os-x

@iamrukia
Copy link

iamrukia commented Jun 28, 2011 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment