if (appRubyPath != null) {
StringTokenizer tok = new StringTokenizer(appRubyPath, ";");
while (tok.hasMoreTokens())
loadPaths.add(tok.nextToken().replace('/', File.separatorChar));
}
config.setOutput(new PrintStream(new WriterOutputStream(out)));
config.setError(new PrintStream(new WriterOutputStream(err)));
interpreter = JavaEmbedUtils.initialize(loadPaths, config);
interpreter.evalScriptlet("require 'marathon/results'");
}
if (type == MarathonAppType.JAVA) {
interpreter.evalScriptlet("require 'marathon/playback'");