Sha256: c0a477eb346d09808043c17e7b3bd010cb42f27df43fc86d93e752f9dbad06b6

Contents?: true

Size: 552 Bytes

Versions: 3

Compression:

Stored size: 552 Bytes

Contents

module Bently

  class ResqueRails < RailsRecipe

    homepage 'https://github.com/defunkt/resque/blob/master/README.md'

    def initialize
      requirement "redis (OS X: \`brew install redis\`, \`redis-server /usr/local/etc/redis.conf\`)"
      gem 'resque'
      bundle
      create 'lib/tasks/resque.rake', "require 'resque/tasks'"
      todo 'redis-server'
      todo "If you want to use the front end, add to config/routes.rb:"
      say "require 'resque/server'", ''
      say '  mount Resque::Server, :at => "/resque"', ''
    end

  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bently-1.0.2 lib/bently/recipe/resque-rails.rb
bently-1.0.1 lib/bently/recipe/resque-rails.rb
bently-1.0.0 lib/bently/recipe/resque-rails.rb