Skip to content

Instantly share code, notes, and snippets.

@vidmantas
Created October 6, 2010 13:25
Show Gist options
  • Save vidmantas/613333 to your computer and use it in GitHub Desktop.
Save vidmantas/613333 to your computer and use it in GitHub Desktop.
remi@samesystem1:/var/www/samesystem$ RAILS_ENV=production rake jobs:work
(in /var/www/samesystem)
Booting Rails... (0.41s)
[Worker(host:samesystem1 pid:1714)] Starting job worker
rake aborted!
undefined class/module Context
/opt/ruby-1.9.2/lib/ruby/1.9.1/psych/visitors/to_ruby.rb:251:in `path2class'
/opt/ruby-1.9.2/lib/ruby/1.9.1/psych/visitors/to_ruby.rb:251:in `resolve_class'
/opt/ruby-1.9.2/lib/ruby/1.9.1/psych/visitors/to_ruby.rb:180:in `visit_Psych_Nodes_Mapping'
/opt/ruby-1.9.2/lib/ruby/1.9.1/psych/visitors/visitor.rb:7:in `accept'
/opt/ruby-1.9.2/lib/ruby/1.9.1/psych/visitors/to_ruby.rb:16:in `accept'
/opt/ruby-1.9.2/lib/ruby/1.9.1/psych/visitors/to_ruby.rb:113:in `block in visit_Psych_Nodes_Sequence'
/opt/ruby-1.9.2/lib/ruby/1.9.1/psych/visitors/to_ruby.rb:113:in `each'
/opt/ruby-1.9.2/lib/ruby/1.9.1/psych/visitors/to_ruby.rb:113:in `visit_Psych_Nodes_Sequence'
/opt/ruby-1.9.2/lib/ruby/1.9.1/psych/visitors/visitor.rb:8:in `accept'
/opt/ruby-1.9.2/lib/ruby/1.9.1/psych/visitors/to_ruby.rb:16:in `accept'
/opt/ruby-1.9.2/lib/ruby/1.9.1/psych/visitors/to_ruby.rb:137:in `block in visit_Psych_Nodes_Mapping'
/opt/ruby-1.9.2/lib/ruby/1.9.1/psych/visitors/to_ruby.rb:135:in `each'
/opt/ruby-1.9.2/lib/ruby/1.9.1/psych/visitors/to_ruby.rb:135:in `each_slice'
/opt/ruby-1.9.2/lib/ruby/1.9.1/psych/visitors/to_ruby.rb:135:in `visit_Psych_Nodes_Mapping'
/opt/ruby-1.9.2/lib/ruby/1.9.1/psych/visitors/visitor.rb:7:in `accept'
/opt/ruby-1.9.2/lib/ruby/1.9.1/psych/visitors/to_ruby.rb:16:in `accept'
/opt/ruby-1.9.2/lib/ruby/1.9.1/psych/nodes/node.rb:25:in `to_ruby'
/opt/ruby-1.9.2/lib/ruby/1.9.1/psych.rb:107:in `load'
/var/www/samesystem/vendor/plugins/delayed_job/lib/delayed/backend/base.rb:57:in `payload_object'
/var/www/samesystem/vendor/plugins/delayed_job/lib/delayed/backend/base.rb:47:in `name'
/var/www/samesystem/vendor/plugins/delayed_job/lib/delayed/worker.rb:180:in `block in reserve_and_run_one_job'
/var/www/samesystem/vendor/plugins/delayed_job/lib/delayed/worker.rb:178:in `each'
/var/www/samesystem/vendor/plugins/delayed_job/lib/delayed/worker.rb:178:in `detect'
/var/www/samesystem/vendor/plugins/delayed_job/lib/delayed/worker.rb:178:in `reserve_and_run_one_job'
/var/www/samesystem/vendor/plugins/delayed_job/lib/delayed/worker.rb:107:in `block in work_off'
/var/www/samesystem/vendor/plugins/delayed_job/lib/delayed/worker.rb:106:in `times'
/var/www/samesystem/vendor/plugins/delayed_job/lib/delayed/worker.rb:106:in `work_off'
/var/www/samesystem/vendor/plugins/delayed_job/lib/delayed/worker.rb:81:in `block (2 levels) in start'
/opt/ruby-1.9.2/lib/ruby/1.9.1/benchmark.rb:309:in `realtime'
/var/www/samesystem/vendor/plugins/delayed_job/lib/delayed/worker.rb:80:in `block in start'
/var/www/samesystem/vendor/plugins/delayed_job/lib/delayed/worker.rb:77:in `loop'
/var/www/samesystem/vendor/plugins/delayed_job/lib/delayed/worker.rb:77:in `start'
/var/www/samesystem/vendor/plugins/delayed_job/lib/delayed/tasks.rb:15:in `block (2 levels) in <top (required)>'
/opt/ruby-1.9.2/lib/ruby/1.9.1/rake.rb:634:in `call'
/opt/ruby-1.9.2/lib/ruby/1.9.1/rake.rb:634:in `block in execute'
/opt/ruby-1.9.2/lib/ruby/1.9.1/rake.rb:629:in `each'
/opt/ruby-1.9.2/lib/ruby/1.9.1/rake.rb:629:in `execute'
/opt/ruby-1.9.2/lib/ruby/1.9.1/rake.rb:595:in `block in invoke_with_call_chain'
/opt/ruby-1.9.2/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
/opt/ruby-1.9.2/lib/ruby/1.9.1/rake.rb:588:in `invoke_with_call_chain'
/opt/ruby-1.9.2/lib/ruby/1.9.1/rake.rb:581:in `invoke'
/opt/ruby-1.9.2/lib/ruby/1.9.1/rake.rb:2041:in `invoke_task'
/opt/ruby-1.9.2/lib/ruby/1.9.1/rake.rb:2019:in `block (2 levels) in top_level'
/opt/ruby-1.9.2/lib/ruby/1.9.1/rake.rb:2019:in `each'
/opt/ruby-1.9.2/lib/ruby/1.9.1/rake.rb:2019:in `block in top_level'
/opt/ruby-1.9.2/lib/ruby/1.9.1/rake.rb:2058:in `standard_exception_handling'
/opt/ruby-1.9.2/lib/ruby/1.9.1/rake.rb:2013:in `top_level'
/opt/ruby-1.9.2/lib/ruby/1.9.1/rake.rb:1992:in `run'
/opt/ruby/bin/rake:31:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment