Add JRuby support (1.9, 2.0 and 2.1)