Skip to content

Instantly share code, notes, and snippets.

@arooni
Created May 19, 2011 21:38
Show Gist options
  • Save arooni/981815 to your computer and use it in GitHub Desktop.
Save arooni/981815 to your computer and use it in GitHub Desktop.
QUEUE=scraper RAILS_ENV=backend rake resque:work --trace
(in /var/www/dev1/releases/20110519010406)
** Invoke resque:work (first_time)
** Invoke resque:setup (first_time)
** Execute resque:setup
** Execute resque:work
rake aborted!
undefined method `get' for nil:NilClass
/home/chasetoys/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-2.3.11/lib/active_support/whiny_nil.rb:52:in `method_missing'
/home/chasetoys/.rvm/gems/ruby-1.8.7-p334/gems/redis-namespace-1.0.3/lib/redis/namespace.rb:213:in `send'
/home/chasetoys/.rvm/gems/ruby-1.8.7-p334/gems/redis-namespace-1.0.3/lib/redis/namespace.rb:213:in `method_missing'
/home/chasetoys/.rvm/gems/ruby-1.8.7-p334/gems/resque-1.16.1/lib/resque/worker.rb:430:in `processing'
/home/chasetoys/.rvm/gems/ruby-1.8.7-p334/gems/resque-1.16.1/lib/resque/worker.rb:362:in `unregister_worker'
/home/chasetoys/.rvm/gems/ruby-1.8.7-p334/gems/resque-1.16.1/lib/resque/worker.rb:145:in `work'
/home/chasetoys/.rvm/gems/ruby-1.8.7-p334/gems/resque-1.16.1/lib/resque/tasks.rb:27
/home/chasetoys/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/rake.rb:636:in `call'
/home/chasetoys/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
/home/chasetoys/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/rake.rb:631:in `each'
/home/chasetoys/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
/home/chasetoys/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'
/home/chasetoys/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/home/chasetoys/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/home/chasetoys/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
/home/chasetoys/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'
/home/chasetoys/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/home/chasetoys/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
/home/chasetoys/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/home/chasetoys/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/home/chasetoys/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
/home/chasetoys/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
/home/chasetoys/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/home/chasetoys/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
/home/chasetoys/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/bin/rake:31
/home/chasetoys/.rvm/gems/ruby-1.8.7-p334/bin/rake:19:in `load'
/home/chasetoys/.rvm/gems/ruby-1.8.7-p334/bin/rake:19
* running ruby 1.8.7... and resque 1.16.1
@defsan
Copy link

defsan commented Jul 19, 2011

Hi arooni, I have same issue. Did you found solution?

@arooni
Copy link
Author

arooni commented Jul 23, 2011

I did solve it; but I'm not sure how I did. Make sure that you have your queues set up correctly; but I can't provide specific advice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment