Changed rmq script to ruby from bash