Two dead-simple implementations in Ruby

It would be nice if you'll test with jruby.

P.S. client-c++-virtan is terribly unstable under OS X