Tag: Homebrew/nokogiri

目次

参考情報

トラブルシューティング

WARNING: Nokogiri was built against LibXML version 2.7.8, but has dynamically loaded 2.7.3というようなエラーが表示される。

概要

解決方法1 Gemfileの先頭に先頭にnokogiriを移動。

解決方法2 DYLD_LIBRARY_PATHを変更

解決方法3 NOKOGIRI_USE_SYSTEM_LIBRARIES

解決方法(×) bundle configでビルド方法を変更。

bundle config build.nokogiri --with-xml2-include=/usr/local/opt/libxml2/include  --with-xml2-lib=/usr/local/opt/libxml2/lib  --with-xslt-dir=/usr/local/opt/libxslt

トップ   編集 凍結 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2022-04-11 (月) 15:28:04