activemessaging icon indicating copy to clipboard operation
activemessaging copied to clipboard

Poller.rb via Rake

Open loe opened this issue 11 years ago • 1 comments

This requires that Rails.root be setup ahead of time, which is generally a safe assumption in Rails 3 (Bundler does it) or Rails 2.3 patched to run using Bundler.

loe avatar Jun 03 '13 18:06 loe

You could also reject this and suggest that the environment loading should be handled by Rake, and do a check in the poller.rb for that.

$ bundle exec rake development activemessaging:start_consumers

Depends how you'd like it to work, I'm fine with either.

loe avatar Jun 03 '13 18:06 loe