At 2:48 PM +1100 3/16/08, Paul Fraser wrote: >Stephen Bannasch wrote: >>Paul, >><snip> >>If so could you try it with an updated version of Hpricot with Nick Sieger's >>patches applied. I've got a copy of the patched gem online here: >>http://www.telscenter.org/confluence/download/attachments/20236/hpricot-0.6.159-java.gem >>download it and then run this command in the same directory where you >>downloaded the gem to install the gem from he gem archive file: >> >> jruby -S gem install hpricot-0.6.159-java.gem >> >Thanks, Stephen, > >Excellent, it works. Now all that needs to be done is for it to appear in the >gem repositories :-) >The version that is available at present is 0.6 >Also, it was a dream to install using the "Install Local" button in the Ruby >Gems window.
Is that part of NetBeans? I've heard good things about it but I'm not using any IDE. FYI: If you need to build it yourself (the patch still applies cleanly to the current trunk revision: 161 of Hpricot): svn co https://code.whytheluckystiff.net/svn/hpricot/trunk hpricot cd hpricot curl http://caldersphere.net/hpricot-0.6.157-jruby-trunk.patch > hpricot-0.6.157-jruby-trunk.patch patch -p0 -i hpricot-0.6.157-jruby-trunk.patch jruby -S rake package_jruby you'll find the gem here: pkg/hpricot-0.6.159-jruby.gem If you want to run the tests (there is only one failing test in JRuby Hpricot, C Hpricot has two different failures): jruby -S rake hpricot_java jruby -S rake test I reported all this on why's tracker for hpricot: https://code.whytheluckystiff.net/hpricot/ticket/131#comment:1 Hopefully he'll at least apply the patch to trunk. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
