タグ : nokogiri

[Ruby] ERROR: cannot discover where libxml2 is located on your system. please make sure `pkg-config` is installed. の解決方法

Ruby on Rails 5 を bundle install でインストール中に libxml2 が無くて nokogiri がインストールできないというエラーが発生しました。

MacOS に nokogiri のインストールに必要なライブラリがインストールされてなかっただけなのですが、無事に解決できたのでその方法をご紹介します。

Ruby | ルビー

続きを読む