jam-cloud/web/lib/tasks/start.rake

15 lines
359 B
Ruby

# this rake file is meant to hold shortcuts/helpers for starting onerous command line executions
# bundle exec rake audiomixer
task :audiomixer do
Rails.application.config.websocket_gateway_enable = false # prevent websocket gateway from starting
Rake::Task['environment'].invoke
ENV['QUEUE'] = 'audiomixer'
Rake::Task['resque:work'].invoke
end