An Error Occured While Installing Capybara-webkit 1.0.0
Support Search GitHub This repository Watch 40 Star 873 Fork 321 24pullrequests/24pullrequests Code Issues 41 Pull requests 1 Projects 0 Wiki Pulse Graphs New issue Installing capybara-webkit (1.0.0) ERROR #290 Closed s10wen opened this Issue Nov 3, 2013 · 15 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 4 participants s10wen commented Nov 3, 2013 Getting the following when trying to install, any ideas please? Installing capybara-webkit (1.0.0) Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /Users/simonowen/.rvm/rubies/ruby-2.0.0-p247/bin/ruby extconf.rb Command 'qmake -spec macx-g++' not available Gem files will remain installed in /Users/simonowen/.rvm/gems/ruby-2.0.0-p247/gems/capybara-webkit-1.0.0 for inspection. Results logged to /Users/simonowen/.rvm/gems/ruby-2.0.0-p247/gems/capybara-webkit-1.0.0/./gem_make.out An error occurred while installing capybara-webkit (1.0.0), and Bundler cannot continue. Make sure that `gem install capybara-webkit -v '1.0.0'` succeeds before bundling. 24 Pull Requests member andrew commented Nov 3, 2013 Looks like you're missing QT. If you're on a mac, I think this command will sort it: brew install qt s10wen commented Nov 3, 2013 Ta, ran that, but got some errors, tried to run bundle install again but no luck: 7 errors generated. make[2]: *** [.obj/release-shared/qdrawhelper_ssse3.o] Error 1 make[1]: *** [release] Error 2 make: *** [sub-gui-make_default-ordered] Error 2 READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting These open issues may also help: https://github.com/mxcl/homebrew/pull/23890 https://github.com/mxcl/homebrew/pull/22283 https://github.com/mxcl/homebrew/issues/23480 Will have a look over the links it suggests. 24 Pull Requests member andrew commented Nov 3, 2013 Ah, are you on Mavericks? I've not upgraded yet. s10wen commented Nov 3, 2013 Yup, also tried checking Xcode settings and a restart. jasnow commented Nov 3, 2013 Do you use "brew doctor"? s10wen commented Nov 4, 2013 Running brew doctor I get: Warning: You have a curlrc file If you have trouble downloading packages with Homebrew, then maybe this is the problem? If the following command doesn't work, then try removing your curlrc: curl http://github.com Warning: /usr/bin occurs before /usr/local/bin This means that system-provided programs will be used instead of those p
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Error installing gem capybara-webkit up vote 64 down vote favorite 15 I am new to ruby, https://github.com/24pullrequests/24pullrequests/issues/290 but while trying to install capybara to run test on my system I get the following error. Im running OSX my_app$ gem install capybara-webkit Building native extensions. This could take a while... ERROR: Error installing capybara-webkit: ERROR: Failed to build gem native extension. /Users/joe/.rvm/rubies/ruby-1.9.2-p290/bin/ruby extconf.rb Gem files will remain installed in /Users/joe/.rvm/gems/ruby-1.9.2-p290/gems/capybara-webkit-0.7.2 for inspection. Results logged to /Users/joe/.rvm/gems/ruby-1.9.2-p290/gems/capybara-webkit-0.7.2/./gem_make.out here are results from gem_make.out /Users/joe/.rvm/rubies/ruby-1.9.2-p290/bin/ruby extconf.rb ruby gem capybara share|improve this question edited http://stackoverflow.com/questions/8365764/error-installing-gem-capybara-webkit Dec 3 '11 at 13:44 asked Dec 3 '11 at 5:31 eiu165 2,29553050 4 Can you show what gem_make.out file says? I had a problem with installing capybara-webkit recently and what helped me was reinstalling libqt4-dev package on Ubuntu. Not sure what is equivalent on OSX, but may be you miss some qt dependencies too. –KL-7 Dec 3 '11 at 8:09 1 Have you installed Qt? –Marc-André Lafortune Dec 3 '11 at 8:16 1 I am new to rails. I do not know what Qt is, I am looking for it now to install. thanks Marc –eiu165 Dec 3 '11 at 13:47 add a comment| 12 Answers 12 active oldest votes up vote 77 down vote accepted Try installing libqt via homebrew. share|improve this answer edited Mar 23 at 20:12 answered Dec 3 '11 at 13:49 jefflunt 25k659110 42 works if you install qt. I ran 'brew install qt' –eiu165 Dec 4 '11 at 1:22 I'm still getting this same error after installing Qt. Qt itself seems to work fine, I can run the Qt Creator just fine. –Francois Jan 12 '12 at 20:55 @Francois - please post a separate question with your specific error messages, and reference this question as "not a
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of http://stackoverflow.com/questions/18804801/problems-installing-capybara-webkit-1-0-0-in-rails-3-2-10-on-ubuntu-10-04 this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask http://stackoverflow.com/questions/33888260/am-not-able-to-install-capybara-webkit-in-ubuntu-14-04 Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up an error Problems installing capybara-webkit 1.0.0 in Rails 3.2.10 on Ubuntu 10.04 up vote 0 down vote favorite 1 Issue I am unable to get Capybara-webkit 1.0.0 to install into my Rails 3.2.10 project. When I run bundle install I get the following errors. Also when I roll capybara-webkit back to version 0.12.1 (May 30, 2012) it installs fine. Note: I am having this same an error occured problem on both OSX 10.8 and Ubuntu 10.04 Errors An error occurred while installing capybara-webkit (1.0.0) with bundler Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. Thoughts It seems to be related to QT even though I have the recommended 4.8.5 installed My configuration Ubuntu 10.04 Postgres 9.2 QT 4.8.5 for capybara support Redis version 1.2.0 Rbenv 0.4.0-54 Ruby 1.9.3-p392 Gem 1.8.23 Bundler 1.3.5 Rails 3.2.10 capybara-webkit 1.0.0 My Gemfile Here is the Gemfile: source 'http://rubygems.org' ruby "1.9.3" gem "builder" gem 'unicorn' gem 'rails', '3.2.10' gem 'sass-rails', "~> 3.2.3" gem 'jquery-rails' gem 'pg' gem 'appsignal' gem 'appsignal-redis' gem 'skylight' gem "rollbar", "~> 0.10.12" gem 'exceptional' gem 'forem', :git => "git://github.com/radar/forem.git" gem 'forem-postgres-search', :git=>"git://github.com/jgadbois/forem-postgres-search.git" gem 'forem-theme-base', :path=>'vendor/gems/forem-theme-wt' gem 'forem-markdown_formatter', :git => "git://github.com/jgadbois/forem-markdown_formatter.git" group :assets do gem 'coffee-rails', "~> 3.2.1" gem 'uglifier', '>= 1.0.3' end group :production do gem 'dalli', :git=>'git://github.com/mperham/dalli.git' gem 'rpm_contrib' gem 'newrelic_rpm' gem 'memcachier' end group :test do gem "factory_girl_rails", "~> 3.0" gem 'capybara' gem 'capybara-webkit' gem 'rspec-rails', ">= 2.14" gem 'database_cleaner' gem 'spring' gem 'selenium-webdriver' end group :development, :test do gem 'guard-rspec', "~> 2.5" gem 'guard-livereload' gem 'better_errors' gem 'binding_of_caller' gem 'meta_request' gem 'rb-fsevent', '
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Am not able to install capybara-webkit in ubuntu 14.04 up vote -1 down vote favorite how can i install capybara-webkit here am using rails/ruby versios are 3.2.12/1.9.3 Installing capybara-webkit 0.13.0 with native extensions Gem::Ext::BuildError: ERROR: Failed to build gem native extension. /home/rguda/.rvm/rubies/ruby-1.9.3-p392-railsexpress/bin/ruby -r ./siteconf20151124-3867-3fgy4k.rb extconf.rb Command 'qmake -spec linux-g++' not available Makefile not found Gem files will remain installed in /home/rguda/.rvm/gems/ruby-1.9.3-p392-railsexpress@rails3.2.12/gems/capybara-webkit-0.13.0 for inspection. Results logged to /home/rguda/.rvm/gems/ruby-1.9.3-p392-railsexpress@rails3.2.12/extensions/x86_64-linux/1.9.1/capybara-webkit-0.13.0/gem_make.out An error occurred while installing capybara-webkit (0.13.0), and Bundler cannot continue. Make sure that `gem install capybara-webkit -v '0.13.0'` succeeds before bundling. ruby-on-rails-3.2 capybara ubuntu-14.04 capybara-webkit share|improve this question asked Nov 24 '15 at 8:02 user748447 3117 have you downloaded and installed qt ? github.com/thoughtbot/capybara-webkit/wiki/… –fabersky Nov 24 '15 at 10:09 yes i downloaded –user748447 Nov 24 '15 at 10:49 still am facing same issue –user748447 Nov 24 '15 at 11:01 you did sudo apt-get install libqt4-dev right? –fabersky Nov 24 '15 at 11:09 yes. $qmake -v #QMake version 2.01a #Using Qt version 4.8.6 in /usr/lib/x86_64-linux-gnu ------------------------ $which qmake # /usr/local/bin/qmake –user748447 Nov 24 '15 at 11:19 | show 8 more comments 1 Answer 1 a