On 24/04/12 22:42, Yannick Roehlly wrote: > With the update from 2.0.5-2 to 2.0.5-3 I encounter some strange behaviour. > Under KDE, the programmes that use ruby-locale fails. For instance, on irb: > > irb(main):001:0> require 'locale' > => true > irb(main):002:0> Locale.current > => [] > irb(main):003:0> Locale.candidates > NoMethodError: undefined method `size' for nil:NilClass > from /usr/lib/ruby/vendor_ruby/locale.rb:239:in `collect_candidates' > from /usr/lib/ruby/vendor_ruby/locale.rb:222:in `candidates' > from (irb):3 > irb(main):004:0>
As far as I can tell this is only reproducible if LANGUAGE is set but empty. So I guess KDE sets LANGUAGE to an empty value an Xfce does not. Regards -- Sebastian Ramacher
signature.asc
Description: OpenPGP digital signature