This commit is contained in:
Nicolas Bally 2014-08-24 00:57:34 +02:00
parent e293051bac
commit bad88eac9d
2 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ gem 'net-ssh', '~>2.7.0'
# gem 'bcrypt-ruby', '~> 3.0.0' # gem 'bcrypt-ruby', '~> 3.0.0'
# Use unicorn as the app server # Use unicorn as the app server
gem "unicorn"

View File

@ -16,7 +16,7 @@ GEM_HOME="/home/web/ual_app/shared/bundle/ruby/2.1.0"
UNICORN_OPTS="-D -E $ENV -c $APP_ROOT/config/unicorn.rb" UNICORN_OPTS="-D -E $ENV -c $APP_ROOT/config/unicorn.rb"
SET_PATH="cd $APP_ROOT; rvm $APP_RUBY" 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" old_pid="$PID.oldbin"