Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Poller.rb via Rake #34

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Poller.rb via Rake #34

wants to merge 2 commits into from

Conversation

loe
Copy link
Contributor

@loe loe commented Jun 3, 2013

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
Copy link
Contributor Author

loe commented Jun 3, 2013

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant