Skip to content

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

Notifications You must be signed in to change notification settings

jugyo/resque-rails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages