Skip to content

Instantly share code, notes, and snippets.

@lukaszx0
Created March 16, 2013 21:43
Show Gist options
  • Save lukaszx0/5178455 to your computer and use it in GitHub Desktop.
Save lukaszx0/5178455 to your computer and use it in GitHub Desktop.
Resque config
$ resque --config config/resque.rb work
#config/resque.rb
Resque.setup do |config|
config.worker_setup do
#all stuff needed for worker goes here
require "[...]"
end
config.redis = "..."
config.foo = "..."
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment