0

When I run

 abhay$ gem install capybara-webkit

I get the following error messages.

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

    /Users/abhay/.rvm/rubies/ruby-1.9.2-p180/bin/ruby extconf.rb


  Gem files will remain installed in /Users/abhay/.rvm/gems/ruby-1.9.2-p180/gems/capybara-     webkit-0.12.1 for inspection.
  Results logged to /Users/abhay/.rvm/gems/ruby-1.9.2-p180/gems/capybara-webkit-0.12.1/./gem_make.out
Abhay Kumar
  • 1,582
  • 1
  • 19
  • 45
  • 1
    Can you provide a backtrace? Better yet, paste the error message in its entirety in gist.github.com or pastie or any other similar service and link it here. – Kashyap Jul 25 '12 at 05:16
  • I just got it working. I had to install QT. Thanks for your reply – Abhay Kumar Jul 25 '12 at 05:36

2 Answers2

1

I had to install QT link as capybara-webkit gem uses it to compile and install.

Abhay Kumar
  • 1,582
  • 1
  • 19
  • 45
0

This sounds a lot like a duplicate of this https://stackoverflow.com/a/11622193

I found the solutions in this answer worked well:

https://stackoverflow.com/a/11622193/3088748

Community
  • 1
  • 1
AJFaraday
  • 2,411
  • 1
  • 16
  • 39