RAILS_ENV=production PIDFILE=./tmp/resque.pid BACKGROUND=yes QUEUE="*" rake resque:work --trace
another alternative is to use resque_pool: https://github.com/nevans/resque-pool
rvm --rvmrc --create jruby@projecta
bundle install --path .bundle/gems --binstubs .bundle/bin
sudo env ARCHFLAGS="-arch x86_64" gem install mysql2 -- --with-mysql-config=/opt/local/lib/mysql5/bin/mysql_config
rake environment tire:import CLASS=Event FORCE=true