Search code examples
ruby-on-railsubuntuamazon-ec2rakeresque

How to start a resque queue in production (EC2 / Ubuntu)?


Can anybody point me to a solution of how to start run

 bundle exec env rake resque:work QUEUE='*'

when deploying Rails app in production (I am using EC2 and Ubuntu)? I am not using passenger or any deployment (had to manually set up the server and just copy Rails app manually due to some complications).


Solution

  • as with everything rake, this is as simple as RAILS_ENV=production rake resque:work QUEUE=*