Skip to content

Instantly share code, notes, and snippets.

@nimzco
Created October 15, 2013 07:43
Show Gist options
  • Save nimzco/6987976 to your computer and use it in GitHub Desktop.
Save nimzco/6987976 to your computer and use it in GitHub Desktop.
➜ CoursAvenue git:(master) rake jobs:work --trace
** Invoke jobs:work (first_time)
** Invoke jobs:environment_options (first_time)
** Invoke environment (first_time)
** Execute environment
dyld: DYLD_ environment variables being ignored because main executable (/bin/ps) is setuid or setgid
** Execute jobs:environment_options
** Execute jobs:work
[Worker(host:Nimas-MBP.local pid:2009)] Starting job worker
rake aborted!
undefined method `[]' for nil:NilClass
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/delayed_job-4.0.0/lib/delayed/backend/base.rb:80:in `rescue in name'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/delayed_job-4.0.0/lib/delayed/backend/base.rb:78:in `name'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/delayed_job-4.0.0/lib/delayed/worker.rb:241:in `job_say'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/delayed_job-4.0.0/lib/delayed/worker.rb:259:in `handle_failed_job'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/delayed_job-4.0.0/lib/delayed/worker.rb:215:in `block in run'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/delayed_job-4.0.0/lib/delayed/lifecycle.rb:60:in `call'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/delayed_job-4.0.0/lib/delayed/lifecycle.rb:60:in `block in initialize'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/delayed_job-4.0.0/lib/delayed/lifecycle.rb:65:in `call'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/delayed_job-4.0.0/lib/delayed/lifecycle.rb:65:in `execute'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/delayed_job-4.0.0/lib/delayed/lifecycle.rb:38:in `run_callbacks'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/delayed_job-4.0.0/lib/delayed/worker.rb:215:in `rescue in run'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/delayed_job-4.0.0/lib/delayed/worker.rb:204:in `run'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/delayed_job-4.0.0/lib/delayed/worker.rb:267:in `block in reserve_and_run_one_job'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/delayed_job-4.0.0/lib/delayed/lifecycle.rb:60:in `call'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/delayed_job-4.0.0/lib/delayed/lifecycle.rb:60:in `block in initialize'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/delayed_job-4.0.0/lib/delayed/lifecycle.rb:65:in `call'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/delayed_job-4.0.0/lib/delayed/lifecycle.rb:65:in `execute'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/delayed_job-4.0.0/lib/delayed/lifecycle.rb:38:in `run_callbacks'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/delayed_job-4.0.0/lib/delayed/worker.rb:267:in `reserve_and_run_one_job'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/delayed_job-4.0.0/lib/delayed/worker.rb:189:in `block in work_off'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/delayed_job-4.0.0/lib/delayed/worker.rb:188:in `times'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/delayed_job-4.0.0/lib/delayed/worker.rb:188:in `work_off'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/delayed_job-4.0.0/lib/delayed/worker.rb:153:in `block (4 levels) in start'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/delayed_job-4.0.0/lib/delayed/worker.rb:152:in `block (3 levels) in start'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/delayed_job-4.0.0/lib/delayed/lifecycle.rb:60:in `call'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/delayed_job-4.0.0/lib/delayed/lifecycle.rb:60:in `block in initialize'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/delayed_job-4.0.0/lib/delayed/lifecycle.rb:65:in `call'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/delayed_job-4.0.0/lib/delayed/lifecycle.rb:65:in `execute'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/delayed_job-4.0.0/lib/delayed/lifecycle.rb:38:in `run_callbacks'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/delayed_job-4.0.0/lib/delayed/worker.rb:151:in `block (2 levels) in start'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/delayed_job-4.0.0/lib/delayed/worker.rb:150:in `loop'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/delayed_job-4.0.0/lib/delayed/worker.rb:150:in `block in start'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/delayed_job-4.0.0/lib/delayed/plugins/clear_locks.rb:7:in `call'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/delayed_job-4.0.0/lib/delayed/plugins/clear_locks.rb:7:in `block (2 levels) in <class:ClearLocks>'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/delayed_job-4.0.0/lib/delayed/lifecycle.rb:78:in `call'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/delayed_job-4.0.0/lib/delayed/lifecycle.rb:78:in `block (2 levels) in add'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/delayed_job-4.0.0/lib/delayed/lifecycle.rb:60:in `call'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/delayed_job-4.0.0/lib/delayed/lifecycle.rb:60:in `block in initialize'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/delayed_job-4.0.0/lib/delayed/lifecycle.rb:78:in `call'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/delayed_job-4.0.0/lib/delayed/lifecycle.rb:78:in `block in add'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/delayed_job-4.0.0/lib/delayed/lifecycle.rb:65:in `call'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/delayed_job-4.0.0/lib/delayed/lifecycle.rb:65:in `execute'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/delayed_job-4.0.0/lib/delayed/lifecycle.rb:38:in `run_callbacks'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/delayed_job-4.0.0/lib/delayed/worker.rb:149:in `start'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/delayed_job-4.0.0/lib/delayed/tasks.rb:9:in `block (2 levels) in <top (required)>'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:236:in `call'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:236:in `block in execute'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:231:in `each'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:231:in `execute'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:175:in `block in invoke_with_call_chain'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:168:in `invoke_with_call_chain'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:161:in `invoke'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:149:in `invoke_task'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:106:in `each'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:106:in `block in top_level'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:115:in `run_with_threads'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:100:in `top_level'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:78:in `block in run'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:165:in `standard_exception_handling'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:75:in `run'
/Users/Nima/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/rake-10.1.0/bin/rake:33:in `<top (required)>'
/Users/Nima/.rbenv/versions/2.0.0-p195/bin/rake:23:in `load'
/Users/Nima/.rbenv/versions/2.0.0-p195/bin/rake:23:in `<main>'
Tasks: TOP => jobs:work
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment