LoginSignup
1
1

More than 5 years have passed since last update.

Mac OSX 10.11 El Capitanでnokogiriがインストールできない 2016/5版

Posted at

状況

OSX10.10 Yosemite環境・Ruby2.2.2で作られたアプリケーションをOSX10.11 El Capitanで起動しようとbundle installしたらnokogiriでインストールエラー発生

対応

xcode-selectを改めてインストールすればOK。xcode-select自体はdevツールまわりのディレクトリ設定を管理するものです。devツールの設定更新で対応してあげると、nokogiriがエラーを吐かずにインストールされます。

// ターミナルなどで下記のコマンドを叩く
xcode-select --install

参考にしたIssue

Error install nokogiri with MAC OSX El Capitan #876
https://github.com/wpscanteam/wpscan/issues/876

1
1
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
1
1