Regression Resque.enqeue needs configured resque
Regression Resque.enqeue needs configured resque

in resque 1.24.1 Resque.enqueue works without assigning Resque.redis
first. In 2.0 it failes since the queues are not configured.

To fix it check if redis is set before trying to actually return a
queue, and setup if needed.

ducthanh/resque,paran0ids0ul/resque,tylerdooling/resque,bhighley/resque,AlexVPopov/resque,sideci-sample/sideci-sample-resque,bonekost/resque,ryan-drake-stoker/resque,igorjancic/resque,kangkot/resque,lileeyao/resque,l4u/resque,redhotpenguin/resque,lukeasrodgers/resque,stitchfix/resque,l4u/resque,partap/resque,ktheory/resque,rutikasb/resque,fmitech/resque,timo-p/resque,sufery/resque,delectable/resque,stitchfix/resque,lileeyao/resque,ngpestelos/resque,sufery/resque,fmitech/resque,m0dd3r/resque,eileencodes/resque,jonatas/resque,vladimirich/resque,timo-p/resque,igorjancic/resque,hoffmanc/resque,tylerdooling/resque,hoffmanc/resque,jacknguyen/resque,delectable/resque,lukeasrodgers/resque,paran0ids0ul/resque,m0dd3r/resque,vladimirich/resque,vietnt/resque,jacknguyen/resque,ktheory/resque,ychaim/resque,sideci-sample/sideci-sample-resque