From 17f6444e752640a771c93f723c3a03f92ddab3bb Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Wed, 26 Apr 2017 13:59:37 +0200 Subject: [PATCH] Use bundle exec for build processes. --- script/build/test_shutdown.sh | 4 ++-- script/build/test_startup.sh | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/script/build/test_shutdown.sh b/script/build/test_shutdown.sh index fcca59cfc..3965fcbe4 100755 --- a/script/build/test_shutdown.sh +++ b/script/build/test_shutdown.sh @@ -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 diff --git a/script/build/test_startup.sh b/script/build/test_startup.sh index 2648e25f5..47573168d 100755 --- a/script/build/test_startup.sh +++ b/script/build/test_startup.sh @@ -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