rabbitMQ in ruby with Ubuntu 10.04

hi, i want to implement rabbitmq in ruby
.
For that i have done the following steps:

Sudo apt-get install rabbitmq-server

sudo gem install amqp

sudo -H -u rabbitmq rabbitmq-server

server is working fine i.e. the broker is running completly.

I am trying to implement examples given in

now the problem is when i execute the worker.rb file it does nothing.

I dont know what is the problem in that because it shows no error.

Please help me.

Tools using:

Rails 3

Ruby 192

Platform:

ubuntu 10.0.4