Or you can try:
http://rubyforge.org/projects/reliable-msg/

Lightweight reliable messaging in Ruby, support for disk and database
store (right now MySQL, but I'm moving the code to use ActiveRecords),
message selectors, priority queues, delivery semantics, transactions.

assaf