Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

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

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 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.