Closed Zhong-z closed 9 years ago
bundle_unicorn method seems not using bundle installed from rbenv when deploying
bundle_unicorn
bundle
INFO [31c3caec] Running /usr/bin/env service unicorn_abc_staging restart as root@111.111.111.111 DEBUG [31c3caec] Command: ( RBENV_ROOT=~/.rbenv RBENV_VERSION=2.2.2 /usr/bin/env service unicorn_abc_staging restart ) DEBUG [31c3caec] Couldn't reload, starting 'cd /var/www/abc/current; bundle exec unicorn -D -c /var/www/abc/shared/config/unicorn.rb -E staging' instead DEBUG [31c3caec] stdin: is not a tty DEBUG [31c3caec] -su: bundle: command not found
I tried the same commands manually, unicorn servers starts without any errors.
ln rbenv bundle to /usr/bin solves problem
ln
bundle_unicorn
method seems not usingbundle
installed from rbenv when deployingI tried the same commands manually, unicorn servers starts without any errors.