Skip to content

Instantly share code, notes, and snippets.

@openfirmware
Created August 22, 2012 17:36
Show Gist options
  • Select an option

  • Save openfirmware/3427808 to your computer and use it in GitHub Desktop.

Select an option

Save openfirmware/3427808 to your computer and use it in GitHub Desktop.
capybara-webkit 0.12.1 install issue
$ ruby -v
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin12.0.0]
$ uname -a
Darwin James-MacBook-Pro.local 12.0.0 Darwin Kernel Version 12.0.0: Sun Jun 24 23:00:16 PDT 2012; root:xnu-2050.7.9~1/RELEASE_X86_64 x86_64
$ rvm version
rvm 1.15.5 (master) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
$ gem install capybara-webkit -v 0.12.0 --backtrace
Fetching: capybara-webkit-0.12.0.gem (100%)
Building native extensions. This could take a while...
Successfully installed capybara-webkit-0.12.0
1 gem installed
$ gem install capybara-webkit -v 0.12.1 --backtrace
Building native extensions. This could take a while...
ERROR: Error installing capybara-webkit:
ERROR: Failed to build gem native extension.
/Users/jpbadger/.rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb
/Users/jpbadger/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- /Users/jpbadger/.rvm/gems/ruby-1.9.3-p194@portal/gems/capybara-webkit-0.12.1/lib/capybara_webkit_builder (LoadError)
from /Users/jpbadger/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from extconf.rb:1:in `<main>'
Gem files will remain installed in /Users/jpbadger/.rvm/gems/ruby-1.9.3-p194@portal/gems/capybara-webkit-0.12.1 for inspection.
Results logged to /Users/jpbadger/.rvm/gems/ruby-1.9.3-p194@portal/gems/capybara-webkit-0.12.1/./gem_make.out
FAIL: 1
$ ls /Users/jpbadger/.rvm/gems/ruby-1.9.3-p194@portal/gems/capybara-webkit-0.12.1
extconf.rb gem_make.out
$ ls /Users/jpbadger/.rvm/gems/ruby-1.9.3-p194@portal/gems/capybara-webkit-0.12.0
Appraisals Gemfile Makefile Rakefile extconf.rb spec webkit_server.pro
CONTRIBUTING.md Gemfile.lock NEWS.md bin gemfiles src
ChangeLog LICENSE README.md capybara-webkit.gemspec lib templates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment