Skip to content

Instantly share code, notes, and snippets.

@tily
Created October 25, 2010 13:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tily/644994 to your computer and use it in GitHub Desktop.
Save tily/644994 to your computer and use it in GitHub Desktop.
古い libxml2 使ってて require 'nokogiri' したときに表示される警告の日本語訳
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 のバージョン 2.6.16 を使っているみたいだね。もう 4 年も
前のバグだらけのバージョンを…。最大限に HTML/XML のパースをエンジョイするために、
libxml2 のバージョンを上げて nokogiri を再インストールすることをおすすめするよ。
もしどうしても libxml2 のバージョン 2.6.16 を使いたくて、この警告が気に入らないと
いうのなら、お願いだから I_KNOW_I_AM_USING_AN_OLD_AND_BUGGY_VERSION_OF_LIBXML2
定数を定義してから nokogiri を require してね。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment