Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
The railtie for setup resque. It provides an initializer and rake tasks.
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
.gitignore
Gemfile
README.md
Rakefile
resque-rails.gemspec

README.md

resque-rails

The railtie for setup resque. It provides an initializer and rake tasks.

module Resque::Rails
  class Railtie < Rails::Railtie
    initializer 'resque.set_config' do
      Resque.redis ||= 'localhost:6379'
    end

    rake_tasks do
      require 'resque/tasks'
      task "resque:setup" => :environment
    end
  end
end

That's it!

See also: https://github.com/defunkt/resque

Something went wrong with that request. Please try again.