composer
composer copied to clipboard
Capistrano extension for Composer tasks
When not running via a deploy (e.g. composer:run executed directly via CLI), the command fails because the release_path variable is not set. It's only set as part of a deploy....
When i run cap staging deploy i got Errorr DEBUG [5050e3d8] PHP Warning: require(/home/tricktionary/public_html/releases/20211210131149/vendor/composer/../symfony/polyfill-php81/bootstrap.php): failed to open stream: No such file or directory in /home/tricktionary/public_html/releases/20211210131149/vendor/composer/autoload_real.php on line 75 PHP Fatal...
A working solution for issue https://github.com/capistrano/composer/issues/58
Not all systems have a binary on the path for `php`. Systems with multiple PHP versions installed generally append the version number to the end. For example: ``` which php72...
This is not directly related to the `capistrano/composer` plugin, but I didn't know where to best ask… Here seemed to be a somewhat suitable place since the target audience is...
Hey there, thanks for creating this gem 🙇 I've run into an issue when following the instructions in the README as the `shared_path` is not necessarily set correctly when you...
Added `:composer_bin` and `:composer_php` options for better control of which binaries to use. When not explicitly set, the existence of the `composer` and `php` executables is now validated before the...
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...