[ditz-talk] undefined local variable or method `stop_on_unknown'

Ben Lau xbenlau at gmail.com
Wed Dec 3 08:11:20 EST 2008


Hi ,

I would like to install ditz 0.5 through rubygem, but when I run the
command ditz, it complains:

/usr/bin/ditz:37:in `cloaker_': undefined local variable or method
`stop_on_unknown' for #<Trollop::Parser:0xb7a5e210> (NameError)
	from /usr/local/lib/site_ruby/1.8/trollop.rb:58:in `call'
	from /usr/local/lib/site_ruby/1.8/trollop.rb:58:in `initialize'
	from /usr/local/lib/site_ruby/1.8/trollop.rb:441:in `new'
	from /usr/local/lib/site_ruby/1.8/trollop.rb:441:in `options'
	from /usr/bin/ditz:30

I have tried to find solution from google , somebody said it need to
install trollop >= 1.9 , but I have already installed 1.10.2 , the
problem still exist.

How can I fix the problem? Thanks.

Distribution : Debian SID
gems : 1.9


$ gem list

*** LOCAL GEMS ***

ditz (0.5)
trollop (1.10.2)


More information about the ditz-talk mailing list