Problem running hpricot

When I try to run a script using hpricot, i get an error:

…report_activate_error:RubyGem version error: hpricot(0.8.5 not>= 0)
(Gem::LoadError)

These are the versions I have:
ruby - 1.8.7
gem - 1.7.2
hpricot 0.8.5 i386-mswin32

My script has these includes:
require ‘rubygems’
require ‘hpricot’
require ‘open-uri’

I am new to ruby…

Thanks,

  • Nilanjan

Looks odd. Did you try to run hpricot alone?

It should come with some example scripts.

-----Messaggio originale-----
Da: nilanjan test [mailto:[email protected]]
Inviato: venerd 2 dicembre 2011 06:11
A: ruby-talk ML
Oggetto: problem running hpricot

When I try to run a script using hpricot, i get an error:

…report_activate_error:RubyGem version error: hpricot(0.8.5 not>= 0)
(Gem::LoadError)

These are the versions I have:
ruby - 1.8.7
gem - 1.7.2
hpricot 0.8.5 i386-mswin32

My script has these includes:
require ‘rubygems’
require ‘hpricot’
require ‘open-uri’

I am new to ruby…

Thanks,

  • Nilanjan


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


Caselle da 1GB, trasmetti allegati fino a 3GB e in piu’ IMAP, POP3 e
SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f

Sponsor:
Conto Arancio al 4,20%. Zero spese e massima liberta’, aprilo in due
minuti!
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid919&d)-12