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) from c:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:134:inactivate’
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:158:in activate' from c:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:157:ineach’
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:157:in activate' from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:inrequire’
from main.rb:2

Is there a solution for this problem ?

`report_activate_error’: Could not find RubyGem hoe (>= 1.7.0)

Is there a solution for this problem ?

Just a wild guess…
gem install hoe

Mark T. wrote:

`report_activate_error’: Could not find RubyGem hoe (>= 1.7.0)

Is there a solution for this problem ?

Just a wild guess…
gem install hoe

Maybe a wild guess…but certainly a good guess…It works !

Thanks