mirror of
https://github.com/Freika/dawarich.git
synced 2025-12-29 09:19:45 -06:00
15 lines
250 B
Bash
15 lines
250 B
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
echo "Environment: $RAILS_ENV"
|
|
|
|
# install missing gems
|
|
bundle check || bundle install --jobs 20 --retry 5
|
|
|
|
# Remove pre-existing puma/passenger server.pid
|
|
rm -f $APP_PATH/tmp/pids/server.pid
|
|
|
|
# run passed commands
|
|
bundle exec ${@}
|