Nokogiri をWindowsに入れる場合のエラーについて
環境
- RubyInstaller for Windows の Ruby 1.9.3-p194
- Windows 7 Professional SP1 64bit
症状
Nokogiri のgemをインストールしようとすると、
gem install nokogiri
以下のように変換できない文字があってエラーが発生する。
Fetching: nokogiri-1.5.5-x86-mingw32.gem (100%) Successfully installed nokogiri-1.5.5-x86-mingw32 1 gem installed Installing ri documentation for nokogiri-1.5.5-x86-mingw32... unable to convert "\xE3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to Windows-31J for CHANGELOG.ja.rdoc, skipping unable to convert "\xE8" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to Windows-31J for CHANGELOG.rdoc, skipping unable to convert "\xE9" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to Windows-31J for README.ja.rdoc, skipping unable to convert "\xE2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to Windows-31J for ext/nokogiri/xml_node_set.c, skipping Installing RDoc documentation for nokogiri-1.5.5-x86-mingw32... unable to convert "\xE3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to Windows-31J for CHANGELOG.ja.rdoc, skipping unable to convert "\xE8" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to Windows-31J for CHANGELOG.rdoc, skipping unable to convert "\xE9" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to Windows-31J for README.ja.rdoc, skipping unable to convert "\xE2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to Windows-31J for ext/nokogiri/xml_node_set.c, skipping