From: Colin Summers Date: 2007-11-01T13:50:59+09:00 Subject: Install hpricot on Leopard Oh, this was working SO nicely until I upgraded the OS... I tried running my little site spider to keep my archive up-to-date and I got an error about mechanize not being available. No problem, I'll just fire up gem and install it. Not so fast... It requires hpricot and sudo gem install hpricot gave me errors that led me to the realization that new OS meant new compilers and the installation of XCode 3.0. (I'm quite new to the CLI stuff.) Once I did that, hpricot and mechanize both installed okay. But I get: /usr/local/lib/ruby/gems/1.8/gems/mechanize-0.6.10/lib/mechanize/ inspect.rb:44: undefined method `pretty_inspect' for class `WWW::Mechanize::Page' (NameError) from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 27:in `require' from /usr/local/lib/ruby/gems/1.8/gems/mechanize-0.6.10/lib/ mechanize.rb:42 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 32:in `require' from scrape.rb:13 Clues? Thanks. --Colin