Skip to content

Instantly share code, notes, and snippets.

@Bluejade
Created June 12, 2010 16:44
Show Gist options
  • Save Bluejade/435883 to your computer and use it in GitHub Desktop.
Save Bluejade/435883 to your computer and use it in GitHub Desktop.
$ QUEUE=* rake --trace environment resque:work
(in /home/bluejade/Work/my_rails_app)
** Invoke environment (first_time)
** Execute environment
** Invoke resque:work (first_time)
** Invoke resque:setup (first_time)
** Execute resque:setup
** Execute resque:work
*** Starting worker optiplex760:28741:*
rake aborted!
You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.map
/usr/local/lib/ruby/gems/1.8/gems/resque-1.9.1/lib/resque/worker.rb:27:in `all'
/usr/local/lib/ruby/gems/1.8/gems/resque-1.9.1/lib/resque/worker.rb:306:in `prune_dead_workers'
/usr/local/lib/ruby/gems/1.8/gems/resque-1.9.1/lib/resque/worker.rb:214:in `startup'
/usr/local/lib/ruby/gems/1.8/gems/resque-1.9.1/lib/resque/worker.rb:108:in `work'
/usr/local/lib/ruby/gems/1.8/gems/resque-1.9.1/lib/resque/tasks.rb:24
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'
/usr/local/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
/usr/local/bin/rake:19:in `load'
/usr/local/bin/rake:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment