Sha256: 544341c2c98b8696e70d1a849ede4aff9f66f80136207417bd765bc0f370d186
Contents?: true
Size: 354 Bytes
Versions: 11
Compression:
Stored size: 354 Bytes
Contents
require 'delayed_job' require 'rails' module Delayed class Railtie < Rails::Railtie initializer :after_initialize do Delayed::Worker.logger ||= if defined?(Rails) Rails.logger elsif defined?(RAILS_DEFAULT_LOGGER) RAILS_DEFAULT_LOGGER end end rake_tasks do load 'delayed/tasks.rb' end end end
Version data entries
11 entries across 11 versions & 1 rubygems