During the deploy capistrano try to download composer with "php" but it should use "php7cli".
I've added these lines in my deploy.rb:
SSHKit.config.command_map[:php] = "php7cli" SSHKit.config.command_map[:composer] = "php7cli #{shared_path.join("composer.phar")}"
php7cli is and alias in my .bashrc. I've tried it with an complete path but still it doesnt work.
I've also tried this in my production.rb:
etch(:default_env).merge!(PATH: '$PATH:usr/local/bin/php7-70STABLE-CLI')
Still... No luck for me
During the deploy capistrano try to download composer with "php" but it should use "php7cli".
I've added these lines in my deploy.rb:
SSHKit.config.command_map[:php] = "php7cli" SSHKit.config.command_map[:composer] = "php7cli #{shared_path.join("composer.phar")}"php7cli is and alias in my .bashrc. I've tried it with an complete path but still it doesnt work.
I've also tried this in my production.rb:
etch(:default_env).merge!(PATH: '$PATH:usr/local/bin/php7-70STABLE-CLI')Still... No luck for me