add environment call with make the resque work task function for projects implementing or using rails engines like devise