10 lines
181 B
Plaintext
10 lines
181 B
Plaintext
|
#!/bin/bash -e
|
||
|
|
||
|
# If running the rails server then create or migrate existing database
|
||
|
if [ "${*}" == "./bin/rails server -p 3000" ]; then
|
||
|
./bin/rails db:prepare
|
||
|
fi
|
||
|
|
||
|
exec "${@}"
|
||
|
|