LoginSignup
1
1

More than 5 years have passed since last update.

bundle installでnokogiriがビルドエラーになったら

Posted at
-----
libxml2 is missing.  Please locate mkmf.log to investigate how it is failing.
-----

とlibxml2が無いと怒られる。stackoverflowの投稿を参考に、以下のようにしてオプションを指定して解決した。(MacPortsの場合)

bundle config build.nokogiri '--with-opt-dir=/opt/local'
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