Clean up templates from a fresh Can't initialize a new Rails application within the directory of another, please change to a non-Rails directory first.

Type 'rails' for help.
This commit is contained in:
Ryan W
2023-09-30 10:32:08 -07:00
parent f13cceabf4
commit 1d8c3828a3
13 changed files with 92 additions and 109 deletions
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash -e
# If running the rails server then create or migrate existing database
if [ "${*}" == "./bin/rails server" ]; then
./bin/rails db:prepare
fi
exec "${@}"