added configuration options for JRuby