diff --git a/config/unicorn_init_d b/config/unicorn_init_d old mode 100644 new mode 100755 index 05f119a..3e0044c --- a/config/unicorn_init_d +++ b/config/unicorn_init_d @@ -16,7 +16,7 @@ GEM_HOME="/home/web/.rvm/gems/ruby-$APP_RUBY" UNICORN_OPTS="-D -E $ENV -c $APP_ROOT/config/unicorn.rb" SET_PATH="cd $APP_ROOT; rvm $APP_RUBY" -CMD="$SET_PATH; unicorn $UNICORN_OPTS" +CMD="$SET_PATH; bundle exec unicorn $UNICORN_OPTS" old_pid="$PID.oldbin"