1 2 3 4 5 6 7
#!/usr/bin/env bash bindir="$(dirname "$(dirname "$(readlink -f "$0")")")" PATH=$bindir:$PATH set -e rake db:drop rake db:setup