Пакет не будет установлен после развертывания Capistrano. Все остальное с cap deploy
работает нормально.
Производственной средой является Ubuntu Debian 16.04 с Rbenv. Среда разработки использует RVM.
Мне было интересно, есть ли способ установить правила развертывания кэпа, чтобы сгладить это несоответствие.
** DEPLOY FAILED
** Refer to log/capistrano.log for details. Here are the last 20 lines:
DEBUG [97b85698] Finished in 1.117 seconds with exit status 1 (failed).
INFO [b7136ad5] Running /usr/bin/env ln -s /var/www/nginx-test/shared/public/assets /var/www/nginx-test/releases/20190429163546/public/assets as nginx-test@nginx-test.lailo.link
DEBUG [b7136ad5] Command: /usr/bin/env ln -s /var/www/nginx-test/shared/public/assets /var/www/nginx-test/releases/20190429163546/public/assets
INFO [34b3841f] Finished in 1.755 seconds with exit status 0 (successful).
DEBUG [9b69e352] Running if test ! -d /var/www/nginx-test/releases/20190429163546; then echo "Directory does not exist '/var/www/nginx-test/releases/20190429163546'" 1>&2; false; fi as nginx-test@nginx-test.lailo.link
DEBUG [9b69e352] Command: if test ! -d /var/www/nginx-test/releases/20190429163546; then echo "Directory does not exist '/var/www/nginx-test/releases/20190429163546'" 1>&2; false; fi
DEBUG [069154db] Finished in 2.145 seconds with exit status 0 (successful).
DEBUG [e726e46b] Running /usr/bin/env bundle check --path /var/www/nginx-test/shared/bundle as nginx-test@nginx-test.lailo.link
DEBUG [e726e46b] Command: cd /var/www/nginx-test/releases/20190429163546 && /usr/bin/env bundle check --path /var/www/nginx-test/shared/bundle
DEBUG [9392525f] /usr/bin/env:
DEBUG [9392525f] ‘bundle’
DEBUG [9392525f] : No such file or directory
DEBUG [9392525f]
DEBUG [9392525f] Finished in 1.847 seconds with exit status 127 (failed).
INFO [2bf3b442] Running /usr/bin/env bundle install --path /var/www/nginx-test/shared/bundle --jobs 4 --without development test --deployment --quiet as nginx-test@nginx-test.lailo.link
DEBUG [2bf3b442] Command: cd /var/www/nginx-test/releases/20190429163546 && /usr/bin/env bundle install --path /var/www/nginx-test/shared/bundle --jobs 4 --without development test --deployment --quiet
DEBUG [8b1a6d45] /usr/bin/env:
DEBUG [8b1a6d45] ‘bundle’
DEBUG [8b1a6d45] : No such file or directory
DEBUG [8b1a6d45]