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:in
activate’
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:in
each’
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:in
require’
from main.rb:2
Is there a solution for this problem ?