Writing your own JRuby extension. Part II: Creating your first class.

What’s the point of coding a JRuby extension if you don’t create classes? Well, I cannot think of any case, but if you find one, please, let me know. Do you remember Java’s classes hierarchy? If so, you’ll realize  that Java objects inherit from java.lang.Object by default but that is not actually what we need. …

Read moreWriting your own JRuby extension. Part II: Creating your first class.

Do you wanna help us with pure-Java Nokogiri?

First things first, if you wanna help, you’ll need to clone the git repo. Just: git clone git://github.com/tenderlove/nokogiri.git cd nokogiri git checkout –track -b java origin/java Install the dependencies. Just: rake install:deps Because it uses some native libraries, you’ll need to do that with MRI. Finally, you’ll need to generate some files, just run jruby …

Read moreDo you wanna help us with pure-Java Nokogiri?

Status Update: RMagick4J, Nokogiri, ruby2java and a possible MagickWand4J

It’s been long time since last status update, but there are some things to tell, so here I am. Thankfully, this year I’m a GSoC student again (and my mentor is Tom too). The main part of my project would be porting Nokogiri to JRuby, so I haven’t code for RMagick for a while now. …

Read moreStatus Update: RMagick4J, Nokogiri, ruby2java and a possible MagickWand4J