refactoring workbench to make TravisCI build on JRuby