kookster / activemessaging

ActiveMessaging moved from google code - this will be the latest and greatest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

script/poller with Rails 3

mrgordon opened this issue · comments

Any hints to getting script/poller to work with Rails 3? I have successfully set up activemessaging and I can get it to process messages if I start a console and run "ActiveMessaging::start" but it won't work from the included script.

I get errors indicating it cannot find my config/*.yml files after config/environment.rb tries to load the application so I'm assuming there are path issues.

Fixed through careful use of File.join(Rails.root, 'config/myconfig.yml'). Seems like poller should do a better job of not corrupting paths but there is a workaround