Mechanize
【環境】
[Ruby] 1.9.3-p194
[Rails] 3.2.3
[Ruby] 1.9.3-p194
[Rails] 3.2.3
インストール
- > gem install mechanize
- Fetching: net-http-digest_auth-1.2.gem (100%)
- Fetching: net-http-persistent-2.6.gem (100%)
- Fetching: nokogiri-1.5.2-x86-mingw32.gem (100%)
- Fetching: ntlm-http-0.1.1.gem (100%)
- Fetching: webrobots-0.0.13.gem (100%)
- Fetching: unf_ext-0.0.4-x86-mingw32.gem (100%)
- Fetching: unf-0.0.5.gem (100%)
- Fetching: domain_name-0.5.3.gem (100%)
- Fetching: mechanize-2.4.gem (100%)
- Successfully installed net-http-digest_auth-1.2
- Successfully installed net-http-persistent-2.6
- Successfully installed nokogiri-1.5.2-x86-mingw32
- Successfully installed ntlm-http-0.1.1
- Successfully installed webrobots-0.0.13
- Successfully installed unf_ext-0.0.4-x86-mingw32
- Successfully installed unf-0.0.5
- Successfully installed domain_name-0.5.3
- Successfully installed mechanize-2.4
- 9 gems installed
- Installing ri documentation for net-http-digest_auth-1.2...
- Installing ri documentation for net-http-persistent-2.6...
- Installing ri documentation for nokogiri-1.5.2-x86-mingw32...
- unable to convert "\xE5" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to Windows-31J for CHANGELOG.ja.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 "\xE8" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to Windows-31J for CHANGELOG.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 ri documentation for ntlm-http-0.1.1...
- Installing ri documentation for webrobots-0.0.13...
- Installing ri documentation for unf_ext-0.0.4-x86-mingw32...
- Installing ri documentation for unf-0.0.5...
- Installing ri documentation for domain_name-0.5.3...
- Installing ri documentation for mechanize-2.4...
- unable to convert "\xE3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to Windows-31J for CHANGELOG.rdoc, skipping
- Installing RDoc documentation for net-http-digest_auth-1.2...
- Installing RDoc documentation for net-http-persistent-2.6...
- Installing RDoc documentation for nokogiri-1.5.2-x86-mingw32...
- unable to convert "\xE5" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to Windows-31J for CHANGELOG.ja.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 "\xE8" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to Windows-31J for CHANGELOG.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 ntlm-http-0.1.1...
- Installing RDoc documentation for webrobots-0.0.13...
- Installing RDoc documentation for unf_ext-0.0.4-x86-mingw32...
- Installing RDoc documentation for unf-0.0.5...
- Installing RDoc documentation for domain_name-0.5.3...
- Installing RDoc documentation for mechanize-2.4...
- unable to convert "\xE3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to Windows-31J for CHANGELOG.rdoc, skipping
また文字コードっぽいエラー。。。
このとき RubyGems と Rails のヴァージョンが古いとエラーになるそうな。
RubyStudyRoom:WWW::Mechanizeをインストール