Search code examples
rubywebkitinstallationcapybara

Ruby's capybara-webkit installer cannot build native extension


When trying to install capybara-webkit

gem install capybara-webkit

I get this error:

Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing capybara-webkit: ERROR: Failed to build gem native extension.

C:/Ruby192/bin/ruby.exe extconf.rb

Gem files will remain installed in C:/Ruby192/lib/ruby/gems/1.9.1/gems/capybara-webkit-0.4.1 for inspection.
Results logged to C:/Ruby192/lib/ruby/gems/1.9.1/gems/capybara-webkit-0.4.1/./gem_make.out

I'm on Windows 7 64bit and I'm installing it so I can use the compressor script bundled with Blueprint CSS.

I had no issues until now (everything was pretty clear even when JSON needed Devkit to be installed, or when I had to install the bundler gem to get the bundle install working), and this is just where I am stuck.


Solution

  • Al last I didn't solve the capybara-webkit installation, but a simple use of "bundle install --without test" did what I was trying to do (and what was my last aim): use the Blueprint CSS compressor script