buf = new StringBuilder("cd ");
buf.append(MiscUtilities.getParentOfPath(buffer.getPath()));
buf.toString();
buf = new StringBuilder(rp5path);
buf.append("rp5 ");
if (jruby){
buf.append("--nojruby ");
}
buf.append(type);
buf.append(" ");
switch(type){
case "run":
case "watch":
case "app":
buf.append(file);
break;
case "setup":
buf.append("check");
break;
}
buf.toString();