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
No value provided for required arguments 'app_path'
appears cause you should provide path to daemon, like this
daemon-kit ~/projects/amqp-dev -i amqp
This will generate skeleton daemon in the amqp-dev
folder.
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.