Re: mechanize - could not loading RubyGem hoe

I installed mechanize as follows : ‘gem install mechanize’

I tried using it with radrails and netbeans but both are giving the
error that the gem cannot be found.

Mechanize is listed as being installed.

I used require ‘rubygems’
require ‘mechanize’

Platform is : Windows Vista with Ruby 1.8.6.

Error log =

:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:578:in
`report_activate_error’: Could not find RubyGem hoe (>= 1.7.0)
(Gem::LoadError)

It looks like hoe is not there or is an old version. Anyway you have to
update/install hoe first.
Li