Tuesday, March 31, 2009

Vlad on JRuby

In case anyone gets stuck on getting Vlad the Deployer to work on JRuby, here is where you can grab a working fork:

Vlad fork for JRuby

Since JRuby doesn't support fork, this renders popen4 unusable. So, I've patched Vlad to use Java's ProcessBuilder for creating the ssh process.

Friday, March 27, 2009

UUID with JRuby

I've been working with JRuby a bit lately, and I wanted to generate UUIDs in a way that utilized Java's strengths in its extremely rich cross-platform API library. So I created a simple UUID library that implements the same interface as the existing UUID gems like the one maintained by Assaf Arkin.

You can clone the tree or install as a plugin from here: http://github.com/jdamick/uuid/tree