-
Notifications
You must be signed in to change notification settings - Fork 68
Setup
nesquena edited this page Jul 26, 2012
·
5 revisions
First, you probably want to install beanstalkd, which powers the job queues. Depending on your platform, this should be as simple as (for Ubuntu):
$ sudo apt-get install beanstalkd
Add this line to your application's Gemfile:
gem 'backburner'
And then execute:
$ bundle
Or install it yourself as:
$ gem install backburner
Backburner is extremely simple to setup. Just configure basic settings for backburner:
Backburner.configure do |config|
config.beanstalk_url = "beanstalk://127.0.0.1"
config.tube_namespace = "some.app.production"
config.on_error = lambda { |e| puts e }
config.default_priority = 65536
config.respond_timeout = 120
end