#!/bin/sh set -e rm -f log/* bundle install bundle exec rake db:setup --trace touch tmp/restart.txt