- Nokogiri 鋸
- RugyGems.org / nokogiri
- GitHub / sparklemotion / nokogiri
- それはそれ。これはこれ。 / 2009-05-09: スクレイピングのためのNokogiri利用メモ
以下のようにすれば install 出来る。
追記: 2014-03-18
Cygwin に install したところ、以下のような感じで documentation のコンパイルで沈黙してしまい1時間くらい放置しても進まない。
いつの頃からか nokogiri の方で libxml2, libxslt を調達するようになっているらしく、マルチバイト対応で腐ってるみたい。
gem install nokogiriただし Cygwin では libxml2-devel, libxslt-devel が必要だった
追記: 2014-03-18
Cygwin に install したところ、以下のような感じで documentation のコンパイルで沈黙してしまい1時間くらい放置しても進まない。
$ gem install nokogiri Building native extensions. This could take a while... Successfully installed nokogiri-1.6.1 Parsing documentation for nokogiri-1.6.1 unable to convert "\xE4" from ASCII-8BIT to UTF-8 for ext/nokogiri/tmp/x86_64-pc-cygwin/ports/libxml2/2.8.0/libxml2-2.8.0/doc/examples/testWriter.c, skipping unable to convert "\xF8" from ASCII-8BIT to UTF-8 for ext/nokogiri/tmp/x86_64-pc-cygwin/ports/libxml2/2.8.0/libxml2-2.8.0/entities.c, skipping予め libxml2-devel, libxslt-devel をいれておいても駄目。
いつの頃からか nokogiri の方で libxml2, libxslt を調達するようになっているらしく、マルチバイト対応で腐ってるみたい。
タグ
コメントをかく