I assume you by Ruby mean MRI, and the answer is no (at least not work I'm willing to put in). If you want to use HtmlUnit from Ruby, I'd suggest using either watir-webdriver [1] or selenium-webdriver [2] with the remote webdriver server (Java) [3]. More info can be found under "Remote" on the ruby bindings page on the selenium wiki [4]