mojombo/god — pull request #82 by jamesds (2012-01-19 17:37:02+00:00)
Title: Corrected usage of undefined local variable or method 'names'

On starting god I get the following error:

god: loading /etc/god/resque-web.god ...
Sending 'load' command with action 'leave'

The following tasks were affected:
Uncaught exception
undefined local variable or method `names' for #
/home/deploy/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/god-0.12.0/lib/god/cli/command.rb:63:in `load_command'
/home/deploy/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/god-0.12.0/lib/god/cli/command.rb:30:in `dispatch'
/home/deploy/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/god-0.12.0/lib/god/cli/command.rb:10:in `initialize'
/home/deploy/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/god-0.12.0/bin/god:119:in `new'
/home/deploy/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/god-0.12.0/bin/god:119:in `'
/home/deploy/.rbenv/versions/1.9.2-p290/bin/god:19:in `load'
/home/deploy/.rbenv/versions/1.9.2-p290/bin/god:19:in `

'

This change fixes the error, allowing god to start correctly.