blob: 67ef493142a80bed4af20076adc97fe937aeeaeb (
plain) (
blame)
1
2
3
4
5
6
7
8
|
#!/bin/bash -e
# If running the rails server then create or migrate existing database
if [ "${1}" == "./bin/rails" ] && [ "${2}" == "server" ]; then
./bin/rails db:prepare
fi
exec "${@}"
|