Fixed problems with rmq command used as a gem