Added defined? Resque to handle rails apps that doesn't use Resque