title: Rails 5 - Resque not processing enqueued job
body: <p>I'm trying to do enqueue a simple job using <code>Resque</code> 1.26.0 (and <code>Redis-rb</code> 3.3.1). The job doesn't seem to be processing the <code>perform</code> function because <code>resque-web</code> is processing each job and shows 0 failures. The jobs also are being processed instantly.</p>
  
  <p>The jobs are enqueued from a controller action with</p>
  
  <pre><code>Resque.enqueue(TestJob, url)
  </code></pre>
  
  <p>The job itself looks like</p>
  
  <pre><code>class TestJob &lt; ApplicationJob
    @queue = :tags_queue
    Logger.new("log/resque_worker_QUEUE.log").fatal("thing")
  
    def self.perform(url)
      Logger.new("log/resque_worker_QUEUE.log").fatal("other thing")
      logger.fatal("more errors please")
  
      myDivideByZeroVar= 1/0
      raise "error"
      Logger.new("log/resque_worker_QUEUE.log").fatal("other thing")
      logger.fatal("more errors please")
    end
  end
  </code></pre>
  
  <p>A rake task is also set up:</p>
  
  <pre><code>require 'resque/tasks'
  task "resque:setup" =&gt; :environment
  </code></pre>
  
  <p>The <code>redis-server</code> is running.</p>
  
  <p>The worker is started with <code>rake resque:work QUEUE=*</code>. Using verbose logging doesn't show anything useful.</p>
  
  <p>The log file only shows the first fatal error string "thing". None of the other errors are logged that are inside <code>perform</code>.</p>
  
  <p>What am I doing wrong here?</p>