test_env 215 B

123456789101112
  1. #!/bin/bash
  2. set -e
  3. /scripts/setup_env
  4. source /app/.env
  5. export RAILS_ENV=test
  6. unset no_proxy
  7. bundle install --with test development --path vendor/bundle -j 4
  8. bundle exec rake db:create db:migrate
  9. bundle exec "$@"