capistrano / capistrano/composer

PHP Variable not changing

Open
#45 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
182
Forks
47
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.