Install rabbitmq first: http://www.rabbitmq.com/download.html
Or brew install rabbitmq on Mac
Start it up with rabbitmq-server
Install gems to talk to the message queue:
gem install bunny
gem install amqpStart the daemon, which doesn't actually daemonize itself....
ruby daemon.rbRun the test:
ruby test.rb