[ditz-talk] Doesn't work with ruby 2

Matěj Cepl mcepl at redhat.com
Tue Aug 20 10:35:22 UTC 2013

Having a gem build out of the git master branch:

matej at wycliff: ~$ ditz help
/home/matej/.gem/gems/ditz-0.5/bin/ditz:7: warning: variable $KCODE is
no longer effective; ignored
/home/matej/.gem/gems/ditz-0.5/lib/ditz/model.rb:185:in `block in from':
error loading from yaml file "./.ditz-config": expected a Ditz::Config,
got a Hash (Ditz::ModelError)
	from /home/matej/.gem/gems/ditz-0.5/lib/ditz/util.rb:2:in `returning'
	from /home/matej/.gem/gems/ditz-0.5/lib/ditz/model.rb:184:in `from'
	from /home/matej/.gem/gems/ditz-0.5/bin/ditz:116:in `<top (required)>'
	from /home/matej/.local/bin/ditz:23:in `load'
	from /home/matej/.local/bin/ditz:23:in `<main>'
matej at wycliff: ~$ ruby --version
ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux]
matej at wycliff: ~$ cat .ditz-config
--- !ditz.rubyforge.org,2008-03-06/config
name: Matej Cepl
email: mcepl at redhat.com
issue_dir: .ditz
matej at wycliff: ~$

Anybody any thoughts what's wrong?



http://www.ceplovi.cz/matej/, Jabber: mcepl at ceplovi.cz
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC

In those days spirits were brave, the stakes were high, men were
real men, women were real women and small furry creatures from
Alpha Centauri were real small furry creatures from Alpha
    -- Douglas Adams

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 255 bytes
Desc: OpenPGP digital signature
URL: <http://rubyforge.org/pipermail/ditz-talk/attachments/20130820/ee753c89/attachment.bin>

More information about the ditz-talk mailing list