Home > Java, JRuby, Programming, Ruby > Final Status Update (or How to get Nokogiri in JRuby without FFI)

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

August 26th, 2009 Serabe Leave a comment Go to 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.

3848826571 e2da6c85ed m Final Status Update (or How to get Nokogiri in JRuby without FFI)
cc Final Status Update (or How to get Nokogiri in JRuby without FFI) 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.

article clipper Final Status Update (or How to get Nokogiri in JRuby without FFI)
 
Categories: Java, JRuby, Programming, Ruby Tags: , , ,
  1. No comments yet.
  1. No trackbacks yet.