From e864ab47cb2c5f5c28c09f024fdaab8d4a530755 Mon Sep 17 00:00:00 2001 From: artygus Date: Thu, 29 Mar 2018 12:42:01 +0300 Subject: [PATCH] use rackup as default command --- 2.3.3/startup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/2.3.3/startup.sh b/2.3.3/startup.sh index b9dbd22..7e39965 100644 --- a/2.3.3/startup.sh +++ b/2.3.3/startup.sh @@ -105,6 +105,6 @@ if [ $# -ne 0 ] echo "Executing $@" exec "$@" else - echo "defaulting to command: \"bundle exec rails server -e $RAILS_ENV -p $PORT\"" - exec bundle exec rails server -b 0.0.0.0 -e "$RAILS_ENV" -p "$PORT" -fi \ No newline at end of file + echo "defaulting to command: \"bundle exec rackup -o 0.0.0.0 -E $RAILS_ENV -p $PORT\"" + exec bundle exec rackup -o 0.0.0.0 -E "$RAILS_ENV" -p "$PORT" +fi