Use bundle exec for build processes.
This commit is contained in:
parent
98a1ba8a62
commit
17f6444e75
2 changed files with 5 additions and 5 deletions
|
@ -8,8 +8,8 @@ WITH_DB=$5 || 0
|
|||
SERVER_PID='tmp/pids/server.pid'
|
||||
LOG_HOST='cilog@schneeberg.znuny.com'
|
||||
|
||||
script/scheduler.rb stop
|
||||
script/websocket-server.rb stop
|
||||
bundle exec script/scheduler.rb stop
|
||||
bundle exec script/websocket-server.rb stop
|
||||
kill $(cat $SERVER_PID)
|
||||
sleep 5
|
||||
if [ -f $SERVER_PID ]; then
|
||||
|
|
|
@ -21,6 +21,6 @@ echo "export IP=$IP"
|
|||
echo "export BROWSER_PORT=$BROWSER_PORT"
|
||||
|
||||
#rails s puma -d --pid tmp/pids/server.pid --bind 0.0.0.0 --port $APP_PORT
|
||||
puma --pidfile tmp/pids/server.pid -d -p $APP_PORT -e $RAILS_ENV
|
||||
script/websocket-server.rb start -d -p $WS_PORT
|
||||
script/scheduler.rb start
|
||||
bundle exec puma --pidfile tmp/pids/server.pid -d -p $APP_PORT -e $RAILS_ENV
|
||||
bundle exec script/websocket-server.rb start -d -p $WS_PORT
|
||||
bundle exec script/scheduler.rb start
|
||||
|
|
Loading…
Reference in a new issue