■
WWW::Mechanizeに憧れて、インストールしようとするも、うまくいかない。。
Building native extensions. This could take a while...
extconf.rb:3:in ``': No such file or directory - uname -p (Errno::ENOENT)
from extconf.rb:3
ERROR: While executing gem ... (RuntimeError)
ERROR: Failed to build gem native extension.
Gem files will remain installed in c:/ruby/lib/ruby/gems/1.8/gems/racc-1.4.6 for
inspection.
ruby extconf.rb install mechanize\n
いろいろネットを見て回って試してみたけど、どれもうまくいかない。
いろいろ試すが、「RuntimeError」が頻出。そこで原点に立ち返り、Ruby逆引きハンドブックを読み、RubyGemsをアップデートすることに。
gem update --system
再び、gem install mechanizeを試す。うまくいったぽい。