3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

ERROR: Error installing capybara-webkit:

Posted at

#bundle installでエラー
とあるプロジェクトをcloneしてきてbundle installを実行したらエラーして以下のログを出力していました。

$ bundle install
Fetching source index from https://rubygems.org/
~略~
Installing xpath 2.0.0
Installing capybara 2.3.0

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    /Users/myuser/.rbenv/versions/2.1.2/bin/ruby extconf.rb 
Command 'qmake -spec macx-g++ ' not available

Makefile not found

~略~
Process finished with exit code 5

qmakeが無いのでbuildできなかった模様です。

ググったらstackoverflowに同じ質問が載ってましたので、メモっておきます。
参考:http://stackoverflow.com/questions/11354656/error-error-error-installing-capybara-webkit

#解決策
参考リンクにそのまま書いてありますが、qmakeをインストールすればOKです。

brew install qt
3
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?