Temporary hacked gem for Hpricot to work on 1.9

  • Follow


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 ;)

^ manveru

0
Reply m.fellinger (252) 12/26/2007 10:02:14 AM

On Wed, Dec 26, 2007 at 07:02:14PM +0900, Michael Fellinger 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

0
Reply why1 (89) 12/26/2007 5:45:11 PM


_why wrote:
> On Wed, Dec 26, 2007 at 07:02:14PM +0900, Michael Fellinger 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
> 
> 
Thanks!! Now all I need is "rcov" and I can start testing BDD with Ruby
1.9.0-0!!

0
Reply znmeb (1667) 12/26/2007 8:08:53 PM

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

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

  Aman Gupta

_why wrote:
> On Wed, Dec 26, 2007 at 07:02:14PM +0900, Michael Fellinger 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

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

0
Reply ruby-forum7079 (4) 1/2/2008 1:03:45 AM

3 Replies
34 Views

(page loaded in 0.192 seconds)


Reply: