Выкладываю сайт через capistrano. На этапе запуска unicorn пишет вот такую штуку. Подскажите, что он хочет от меня?
00:40 application:start
01 cd /home/app/project/lesson-web/releases/20161227093925 && ~/.rvm/bin/rvm default do bundle exec unicorn_rails -c /home/app/project/lesson-web/shared/config/unicorn.rb -E …
01 /home/app/.rvm/scripts/set: line 19: exec: bundle: not found
(Backtrace restricted to imported tasks)
cap aborted!
SSHKit::Runner::ExecuteError: Exception while executing as app@78.155.219.102: cd /home/app/project/lesson-web/releases/20161227093925 && ~/.rvm/bin/rvm default do bundle exec unicorn_rails -c /home/app/project/lesson-web/shared/config/unicorn.rb -E production -D exit status: 127
cd /home/app/project/lesson-web/releases/20161227093925 && ~/.rvm/bin/rvm default do bundle exec unicorn_rails -c /home/app/project/lesson-web/shared/config/unicorn.rb -E production -D stdout: Nothing written
cd /home/app/project/lesson-web/releases/20161227093925 && ~/.rvm/bin/rvm default do bundle exec unicorn_rails -c /home/app/project/lesson-web/shared/config/unicorn.rb -E production -D stderr: /home/app/.rvm/scripts/set: line 19: exec: bundle: not found
SSHKit::Command::Failed: cd /home/app/project/lesson-web/releases/20161227093925 && ~/.rvm/bin/rvm default do bundle exec unicorn_rails -c /home/app/project/lesson-web/shared/config/unicorn.rb -E production -D exit status: 127
cd /home/app/project/lesson-web/releases/20161227093925 && ~/.rvm/bin/rvm default do bundle exec unicorn_rails -c /home/app/project/lesson-web/shared/config/unicorn.rb -E production -D stdout: Nothing written
cd /home/app/project/lesson-web/releases/20161227093925 && ~/.rvm/bin/rvm default do bundle exec unicorn_rails -c /home/app/project/lesson-web/shared/config/unicorn.rb -E production -D stderr: /home/app/.rvm/scripts/set: line 19: exec: bundle: not found
Tasks: TOP => application:start
(See full trace by running task with --trace)
The deploy has failed with an error: Exception while executing as app@78.155.219.102: cd /home/app/project/lesson-web/releases/20161227093925 && ~/.rvm/bin/rvm default do bundle exec unicorn_rails -c /home/app/project/lesson-web/shared/config/unicorn.rb -E production -D exit status: 127
cd /home/app/project/lesson-web/releases/20161227093925 && ~/.rvm/bin/rvm default do bundle exec unicorn_rails -c /home/app/project/lesson-web/shared/config/unicorn.rb -E production -D stdout: Nothing written
cd /home/app/project/lesson-web/releases/20161227093925 && ~/.rvm/bin/rvm default do bundle exec unicorn_rails -c /home/app/project/lesson-web/shared/config/unicorn.rb -E production -D stderr: /home/app/.rvm/scripts/set: line 19: exec: bundle: not found
** DEPLOY FAILED
** Refer to log/capistrano.log for details. Here are the last 20 lines:
DEBUG [1c03022d] Command: /usr/bin/env ln -s /home/app/project/lesson-web/releases/20161227093925 /home/app/project/lesson-web/releases/current
INFO [1c03022d] Finished in 0.153 seconds with exit status 0 (successful).
INFO [369ef24d] Running /usr/bin/env mv /home/app/project/lesson-web/releases/current /home/app/project/lesson-web as app@78.155.219.102
DEBUG [369ef24d] Command: /usr/bin/env mv /home/app/project/lesson-web/releases/current /home/app/project/lesson-web
INFO [369ef24d] Finished in 0.169 seconds with exit status 0 (successful).
DEBUG [e1b2254b] Running /usr/bin/env ls -xtr /home/app/project/lesson-web/releases as app@78.155.219.102
DEBUG [e1b2254b] Command: /usr/bin/env ls -xtr /home/app/project/lesson-web/releases
DEBUG [e1b2254b] 20161227090536 20161227091231 20161227091829 20161227092446 20161227092551
20161227093925
DEBUG [e1b2254b] Finished in 0.161 seconds with exit status 0 (successful).
INFO Keeping 5 of 6 deployed releases on 78.155.219.102
INFO [e1a094fd] Running /usr/bin/env rm -rf /home/app/project/lesson-web/releases/20161227090536 as app@78.155.219.102
DEBUG [e1a094fd] Command: /usr/bin/env rm -rf /home/app/project/lesson-web/releases/20161227090536
INFO [e1a094fd] Finished in 0.220 seconds with exit status 0 (successful).
INFO [d0ba67b2] Running if [ -f /home/app/project/lesson-web/shared/run/unicorn.pid ] && [ -e /proc/$(cat /home/app/project/lesson-web/shared/run/unicorn.pid) ]; then kill -9 `ca…
DEBUG [d0ba67b2] Command: if [ -f /home/app/project/lesson-web/shared/run/unicorn.pid ] && [ -e /proc/$(cat /home/app/project/lesson-web/shared/run/unicorn.pid) ]; then kill -9 `c…
INFO [d0ba67b2] Finished in 0.168 seconds with exit status 0 (successful).
INFO [0e1d2be6] Running cd /home/app/project/lesson-web/releases/20161227093925 && ~/.rvm/bin/rvm default do bundle exec unicorn_rails -c /home/app/project/lesson-web/shared/conf…
DEBUG [0e1d2be6] Command: cd /home/app/project/lesson-web/releases/20161227093925 && ~/.rvm/bin/rvm default do bundle exec unicorn_rails -c /home/app/project/lesson-web/shared/con…
DEBUG [0e1d2be6] /home/app/.rvm/scripts/set: line 19: exec: bundle: not found
You have new mail in /var/mail/aleksandrpetrov