I am trying to integrate the RabbitMq and AMQP along with the daemon kit to schedule the messaging tasks in Ruby on Rails platform. I am still in the experimental stage. I was referred to few blogs and websites and one of them is:
http://www.ioncannon.net/programming/941/using-daemon-kit-and-robustthread-to-build-ruby-daemons/#evented-daemon
When I tried to run this command:
daemon-kit -i amqp eventbased
inside a Rails app, I got this error:
No value provided for required arguments 'app_path'
I am not being able to figure out whats wrong with it. Kindly help me to resolve this issue.
So this error
appears cause you should provide path to daemon, like this
This will generate skeleton daemon in the
amqp-devfolder.Im not sure about daemon-kit compatibility with ruby frameworks, like sinatra or rails, but I belive its not really hard to get this work with them.