Temporary hacked gem for Hpricot to work on 1.9

I just spent a while to port Hpricot to ruby 1.9 and finally had
success. The gem can be found at

http://weez-int.com/gem/hpricot-0.6.gem

But more important i think is to share information on how to create
the gem, here are the:
fixed ext/hpricot_scan/extconf.rb: http://p.ramaze.net/19
fixed Rakefile: http://p.ramaze.net/20

The most important changes here are patching the C generated by ragel
(i have no knowledge of ragel, that should be probably fixed on their
side, i guess) and that ruby1.9 has no ::Config module anymore, it’s
RbConfig.
I’ll post the same information to hpricots bugtracker, but i figured
it’s a commonly used gem and so more people should be able to enjoy it
on 1.9 :wink:

^ manveru

On Wed, Dec 26, 2007 at 07:02:14PM +0900, Michael F. wrote:

I just spent a while to port Hpricot to ruby 1.9 and finally had
success. The gem can be found at

http://weez-int.com/gem/hpricot-0.6.gem

Oh, hey, that’s great! Just checked changes into Hpricot trunk to
reflect this.

_why

_why wrote:

Thanks!! Now all I need is “rcov” and I can start testing BDD with Ruby
1.9.0-0!!

And another… http://p.ramaze.net/60

http://code.whytheluckystiff.net/hpricot/ticket/135

Aman G.

_why wrote:

On Wed, Dec 26, 2007 at 07:02:14PM +0900, Michael F. wrote:

I just spent a while to port Hpricot to ruby 1.9 and finally had
success. The gem can be found at

http://weez-int.com/gem/hpricot-0.6.gem

Oh, hey, that’s great! Just checked changes into Hpricot trunk to
reflect this.

_why

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs