if [ -z "$E2E" ]; then echo "Setting up the end to end (E2E) test database did not run. You are not in an E2E test environment."; exit 1; fi bundle exec rails db:drop; bundle exec rails db:create; bundle exec rails db:schema:load;