mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 01:01:39 -05:00
12 lines
189 B
Bash
12 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 ${@}
|