script/runner
#!/usr/bin/env bash RAILS=$(which rails) || { echo "Can't find rails executable!" && exit 1}Double quote to prevent globbing and word splitting.
Quote this to prevent word splitting.
Use "$@" (with quotes) to prevent whitespace problems.exec ${RAILS} runner $(readlink -f $(dirname $0))/3scale $*