mechanize - could not loading RubyGem hoe...

R

Ruby Newbie

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 ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,045
Latest member
DRCM

Latest Threads

Top