kookster/activemessaging — pull request #21 by dmpierce (2012-09-17 20:24:57+00:00)
Title: Updates to allow installation of activemessaging and running of Rails 3 generators.

With Rails 3.2.8 and Gem version 1.8.24, I could not get the activemessaging 0.12.0 gem to install. The dependency on activemessaging >= 0 in the gemspec was blocking gem from install activemessaging. Once the dependency was commented out, the generators would fail. The generators fails, since load_config in lib/activemessaging.rb couldn't find messaging.rb as it hadn't been placed in config by the generators. I couldn't find an easy way to see if the generator was running, so load_config skips loading messaging.rb if there isn't at least two *.rb files in app/processors, since that indicates that application_processor.rb and a user processor aren't available yet. I als added a section in README.md on how to run the generators in Rails 3 as the old wiki doesn't appear to document updated method. Feel free to use these changes if you desire.