# Rbgccxml / rbplusplus gem dependency on hpricot question

**URL:** <https://www.ruby-forum.com/t/rbgccxml-rbplusplus-gem-dependency-on-hpricot-question/196784>\
**Category:** Ruby\
**Created:** [August 15, 2008, 4:09pm UTC](https://www.ruby-forum.com/t/rbgccxml-rbplusplus-gem-dependency-on-hpricot-question/196784 "2008-08-15T16:09:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Axel\_E](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/7c8e57/32.png) [@Axel\_E](https://www.ruby-forum.com/u/Axel_E)\
**Post date:** [August 15, 2008, 4:09pm UTC](https://www.ruby-forum.com/t/rbgccxml-rbplusplus-gem-dependency-on-hpricot-question/196784/1 "2008-08-15T16:09:12Z")

</div>

Dear all,

I am having problems installing the rbgccxml gem on ubuntu 8.04, I get a  
runtime error saying that  
hpricot version=0.6 is required.  
Now I had hpricot installed, as a gem, but it is version 0.6.161 .  
Is there any special reason why these two should not work together ?

Thank you very much,

Best regards,

Axel

---

<div class="post-metadata">

**Author:** ![Axel\_E](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/7c8e57/32.png) [@Axel\_E](https://www.ruby-forum.com/u/Axel_E)\
**Post date:** [August 15, 2008, 5:41pm UTC](https://www.ruby-forum.com/t/rbgccxml-rbplusplus-gem-dependency-on-hpricot-question/196784/2 "2008-08-15T17:41:52Z")

</div>

On Friday 15 August 2008 09:04:56 Axel E. wrote:

> Dear all,
> 
> I am having problems installing the rbgccxml gem on ubuntu 8.04, I get a  
> runtime error saying that  
> hpricot version=0.6 is required.

Sounds like the same problem that rfeedparser has.

The explanation I got was, 0.6.161 is probably fine, but hadn’t been  
tested,  
and they didn’t want to allow 0.6 or higher, because that would imply a  
future 0.7, which might actually break stuff.

In other words, someone very probably didn’t know about the gem ~\>  
specification.

Talk to the author of rbgccxml, and see if they’d be willing to  
require “~\>0.6” (or would that be “~\>0.6.0”?), instead of “=0.6”.

---

<div class="post-metadata">

**Author:** ![Axel\_E](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/7c8e57/32.png) [@Axel\_E](https://www.ruby-forum.com/u/Axel_E)\
**Post date:** [August 15, 2008, 10:51pm UTC](https://www.ruby-forum.com/t/rbgccxml-rbplusplus-gem-dependency-on-hpricot-question/196784/3 "2008-08-15T22:51:15Z")

</div>

The maintainer of rbgccxml is on vacation until next week. Feel free to  
contact him after that, and I’m sure he’ll give you a speedy response.  
He’s  
a good guy: [jameskilton · GitHub](http://github.com/jameskilton)

/Shawn

---

<div class="post-metadata">

**Author:** ![Axel\_E](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/7c8e57/32.png) [@Axel\_E](https://www.ruby-forum.com/u/Axel_E)\
**Post date:** [August 15, 2008, 11:41pm UTC](https://www.ruby-forum.com/t/rbgccxml-rbplusplus-gem-dependency-on-hpricot-question/196784/4 "2008-08-15T23:41:04Z")

</div>

-------- Original-Nachricht --------

> Datum: Sat, 16 Aug 2008 05:47:24 +0900  
> Von: “Shawn A.” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> An: removed\_email\_address@domain.invalid  
> Betreff: Re: rbgccxml / rbplusplus gem dependency on hpricot question

> The maintainer of rbgccxml is on vacation until next week. Feel free to  
> contact him after that, and I’m sure he’ll give you a speedy response.  
> He’s  
> a good guy: [jameskilton · GitHub](http://github.com/jameskilton)
> 
> /Shawn

Thanks for the info. I’ll do that.

Best regards,

Axel

---

<div class="post-metadata">

**Author:** ![Axel\_E](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/7c8e57/32.png) [@Axel\_E](https://www.ruby-forum.com/u/Axel_E)\
**Post date:** [August 18, 2008, 5:56pm UTC](https://www.ruby-forum.com/t/rbgccxml-rbplusplus-gem-dependency-on-hpricot-question/196784/5 "2008-08-18T17:56:28Z")

</div>

On Fri, Aug 15, 2008 at 5:37 PM, Axel E. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > a good guy: [jameskilton · GitHub](http://github.com/jameskilton)  
> > [Aktuelle Nachrichten aus Politik, Wirtschaft & Panorama | GMX](http://games.entertainment.gmx.net/de/entertainment/games/free/puzzle/6169196)

Thanks for pointing this thread out for me Shawn. So many threads come  
across when you’re gone a week that I usually just mark them as  
‘read’.

Anyway, rbgccxml is no longer using hpricot. As libxml-ruby has  
matured extensively in the past months, I’ve moved over to that  
library. Much faster than hpricot. That said, I will take greater care  
in how I define dependencies to hopefully prevent this problem from  
happening again.

Further questions about these projects should be posted on the  
rubyforge forums page: [http://rubyforge.org/forum/?group\_id=5393](http://rubyforge.org/forum/?group_id=5393)  
Posting here will send me an email which will allow me to respond  
quicker.

Hope that helps.

Jason

---

<div class="post-metadata">

**Author:** ![Axel\_E](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/7c8e57/32.png) [@Axel\_E](https://www.ruby-forum.com/u/Axel_E)\
**Post date:** [August 18, 2008, 9:19pm UTC](https://www.ruby-forum.com/t/rbgccxml-rbplusplus-gem-dependency-on-hpricot-question/196784/6 "2008-08-18T21:19:41Z")

</div>

-------- Original-Nachricht --------

> Datum: Tue, 19 Aug 2008 00:52:19 +0900  
> Von: “Jason R.” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> An: removed\_email\_address@domain.invalid  
> Betreff: Re: rbgccxml / rbplusplus gem dependency on hpricot question

> > > contact him after that, and I’m sure he’ll give you a speedy response.  
> > > –
> 
> Hope that helps.
> 
> Jason

Dear Jason,

thanks for your response and for your work.  
However, I still get this error:

axel@alecrim:~/Desktop$ sudo gem install rbplusplus  
ERROR: Error installing rbplusplus:  
rbgccxml requires hpricot (= 0.6, runtime)

What should I do ?

Thank you,

Axel
