This page is a work in progress. Currently just a collection of notes on how I think Raakt can be called from HTMLUnit tests. I am waiting for a new version of Hpricot for Jruby with a fix for ticket 68.
Follow the instructions at the HTMLUnit website. The binary distribution contains all dependencies for HTMLUnit. Make sure HTMLUnit is working correctly before continuing.
Follow the instructions on the JRuby website.
Navigate to your jruby installation directory’s bin folder and do:
jruby gem install hpricot --source=http://code.whytheluckystiff.net
Install the Raakt gem for jruby:
jruby gem install raakt