Home > All > macでlibxml2のver警告が出る

macでlibxml2のver警告が出る

December 24th, 2009 Leave a comment Go to comments
HI. You're using libxml2 version 2.6.16 which is over 4 years old and has
plenty of bugs. We suggest that for maximum HTML/XML parsing pleasure, you
upgrade your version of libxml2 and re-install nokogiri. If you like using
libxml2 version 2.6.16, but don't like this warning, please define the constant
I_KNOW_I_AM_USING_AN_OLD_AND_BUGGY_VERSION_OF_LIBXML2 before requring nokogiri.

どうやら標準で入っているlibxml2は大分古いverのようで、
nokogiri(mechanize)なんかを使おうとすると上記のような警告が出ます
portsなどで最新のlibxml2を入れ、nokogiriをuninstall&installすれば解決しました

関連記事:

Tags:
  1. No comments yet.
  1. No trackbacks yet.