Closed bensie closed 14 years ago
I'm not able to duplicate this. Can you run the command again with --trace and post the stacktrace here?
Reopen if you're still having issues.
jk2:dp jkmiller$ rake jobs:work --trace
(in /Users/jkmiller/Sites/rails/dp)
* Invoke jobs:work (first_time)
* Invoke merb_env (first_time)
* Execute merb_env
* Invoke environment (first_time)
* Execute environment
* Execute jobs:work
*\ Starting job worker host:jk2.local pid:8337
rake aborted!
wrong number of arguments (1 for 0)
/Users/jkmiller/Sites/rails/dp/vendor/plugins/delayed_job/lib/delayed/worker.rb:70:in clear_locks!' /Users/jkmiller/Sites/rails/dp/vendor/plugins/delayed_job/lib/delayed/worker.rb:70:in
start'
/Users/jkmiller/Sites/rails/dp/vendor/plugins/delayed_job/lib/delayed/tasks.rb:13
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in call' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in
execute'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in each' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in
execute'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in invoke_with_call_chain' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/monitor.rb:242:in
synchronize'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in invoke_with_call_chain' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in
invoke'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in invoke_task' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in
top_level'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in each' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in
top_level'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in standard_exception_handling' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in
top_level'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in run' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
standard_exception_handling'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in run' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/bin/rake:31 /usr/bin/rake:19:in
load'
/usr/bin/rake:19
Sorry that was ugly: http://gist.github.com/267555
I get the same (except line 83). How can anyone use this branch?
A recent commit causes rake jobs:work to fail:
jk2:dp jkmiller$ rake jobs:work (in /Users/james/Sites/rails/dp) *\ Starting job worker host:jk2.local pid:7060 rake aborted! wrong number of arguments (1 for 0)