cap staging deploy:check
works without any errors - but when i just deploy with
cap staging deploy i get an error with composer.
Ive installed composer phar file in the /shared folder - is that right?
DEBUG [f4d8ab58] Command: cd /var/www/html/releases/20150423112136 && ( WP_ENV=staging /usr/bin/env composer install --no-dev --no-interaction --optimize-autoloader ) DEBUG [f4d8ab58] /usr/bin/env: DEBUG [f4d8ab58] composer DEBUG [f4d8ab58] : No such file or directory DEBUG [f4d8ab58] (Backtrace restricted to imported tasks) cap aborted! SSHKit::Runner::ExecuteError: Exception while executing as email@example.com: composer exit status: 127 composer stdout: Nothing written composer stderr: /usr/bin/env: composer: No such file or directory
set :composer_install_flags, '--no-dev --no-interaction --optimize-autoloader' but it doesnt seem to give me any extra composer debugging.