[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

mechanize - could not loading RubyGem hoe...

Ruby Newbie

10/15/2008 12:53:00 PM


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 ?
--
Posted via http://www.ruby-....

2 Answers

Mark Thomas

10/15/2008 1:14:00 PM

0


> `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

Ruby Newbie

10/15/2008 1:28:00 PM

0

Mark Thomas 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

--
Posted via http://www.ruby-....