Permalink
Browse files

Merge pull request #7664 from arunagw/build_fix_railties

Fix build for Queue.
  • Loading branch information...
2 parents a036dc8 + 3e4458b commit c1b1215230c4aec0c4baf98814272e2a045f3596 @rafaelfranca rafaelfranca committed Sep 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/application/finisher.rb
View
2 railties/lib/rails/application/finisher.rb
@@ -98,7 +98,7 @@ module Finisher
initializer :activate_queue_consumer do |app|
if config.queue == ActiveSupport::Queue
- app.queue_consumer = config.queue_consumer.start(app.queue, Rails.logger)
+ app.queue_consumer = config.queue_consumer.start(app.queue, {logger: Rails.logger})
at_exit { app.queue_consumer.shutdown }
end
end

0 comments on commit c1b1215

Please sign in to comment.