#!/bin/bash set -e bundle install if [ -f tmp/pids/server.pid ]; then rm tmp/pids/server.pid fi QUEUE="*" bundle exec rake environment resque:work