Sha256: d028ec39630eb4c511efb9036f23ca0ea3e76bac82847e5d8a4dd0d8bce0c966
Contents?: true
Size: 382 Bytes
Versions: 3
Compression:
Stored size: 382 Bytes
Contents
namespace :rabbit_carrots do desc 'Rake task for standalone RabbitCarrots mode' task eat: :environment do Rails.application.eager_load! logger = Logger.new(Rails.env.production? ? '/proc/self/fd/1' : $stdout) logger.level = Logger::INFO core_service = RabbitCarrots::Core.new(logger:) core_service.start(kill_to_restart_on_standard_error: true) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rabbit_carrots-1.0.2 | lib/rabbit_carrots/tasks/rmq.rake |
rabbit_carrots-1.0.1 | lib/rabbit_carrots/tasks/rmq.rake |
rabbit_carrots-1.0.0 | lib/rabbit_carrots/tasks/rmq.rake |