Misleading error message if "expect" is not available
I tried to deploy an application to a remote server and the process always failed with a bold red error message (the last line from the Shell output below) which is misleading.
Instead of the shown error message, I'd have expected something like "Command line tool expect is not available on your system, please install it first."
./flow surf:deploy --verbose MyApp-staging Deploying MyApp-staging (20121127235530) Using workflow "Simple workflow" Stage initialize Node my-crazy-host Application MyApp Executing stage "initialize" on "my-crazy-host" for application MyApp my-crazy-host (MyApp) typo3.surf:createdirectories $roosta: "test -d /var/www/myapp.ch/staging" > sh: 1: expect: not found Got exception "Deployment directory "/var/www/myapp.ch/staging" does not exist on node my-crazy-host" but rollback disabled. Stopping.