#3 Added support for JRuby