Capistrano composer step failure

Looks like your Composer problem is the same as this: Deploying WordPress with Capistrano screencast

You’ll need something like:

SSHKit.config.command_map[:composer] = "php -d memory_limit=512M -d allow_url_fopen=1 -d suhosin.executor.include.whitelist=phar composer.phar"