title: Resque workers failing silently with no logs or no debug information
body: <p>I have a piece of code code which runs some method and I have put that method inside the self.perform as below</p>
  
  <pre><code>class StartWorker
  @queue = :worker
  
   def self.perform
   puts "hello"
    Parser.find_all_by_class_name("Parser").first.sites.each do |s|
     site = Site.find(s.id)
     parser = Parser.new(site)
     parser.run
       end
       end
       end
  </code></pre>
  
  <p>If I comment the def self.perform and end of this and run the file it is correctly showing the desired results but when I try to put this as a background task by uncommenting the same It is failing silently into the resque panel showing nothing .and also with no outputs in the command prompt </p>
  
  <p>I am queuing this from resque-scheduler, inside my resque_schedule.yml</p>
  
  <pre><code>start_worker:
  cron: "55 6 * * *"
  class: StartWorker
  queue: worker
  args:
  description: "This job starts all the worker jobs"
  </code></pre>
  
  <p>I tried putting some simple puts statements inside the the def self.perform method to check whether the control is passing inside the method or not but it seems the control is not even passing inside the self.perform method</p>
  
  <p>also I tried to load the rails environment and required resque inside it but of no use 
  I have runned the bundle exec rake resque:work QUEUE='*' script for all the above before making any changes </p>
  
  <p>I tried Resque.info inside the rails console it is showing like this ,</p>
  
  <pre><code> {:working=&gt;0, :queues=&gt;1, :failed=&gt;1, :environment=&gt;"development", :servers=&gt;["redis://localhost:6379/0"], :pending=&gt;0, :processed=&gt;1, :workers=&gt;1}
  </code></pre>
  
  <p>Any Ideas how to overcome this?</p>