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