dawarich/test-docker-entrypoint.sh

11 lines
189 B
Bash

#!/bin/sh
set -e
echo "Environment: $RAILS_ENV"
# Check if we need to install new gems
bundle check || bundle install --jobs 20 --retry 5
# Then run any passed command
bundle exec ${@}