adding JRuby support