Archive

Posts Tagged ‘gem’

Final Status Update (or How to get Nokogiri in JRuby without FFI)

August 26th, 2009 Serabe No comments

Hi, all,

sorry for the silence all these months, but I’ve been working hard on Nokogiri. First things first, it is not complete yet. Anyway, I’m gonna tell you how to build a gem and start working with it.

Wooden vice - sharpening saw
Creative Commons License photo credit: Matthew Byrne

Clone the repo and checkout the java branch.

git clone git://github.com/tenderlove/nokogiri.git
git checkout --track -b java origin/java

Next step: build the gem. As easy as jruby -S rake java:gem. Maybe, you need to install rexical and racc. jruby -S rake install:deps would do.

Finally, you have a gem in the pkg folder. Install it, and you’re done.

Updated: Take a look here if you wanna help.

Categories: JRuby, Java, Programming, Ruby Tags: , , ,
Improve the web with Nofollow Reciprocity.