[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sup-talk] charset warning when starting sup



Reformatted excerpts from Erik Quaeghebeur's message of 2010-04-26:

> When starting sup (0.11 on ruby 1.8), I get
>
> WARNING: can't find character set by using locale, defaulting to utf-8

On Mon, 26 Apr 2010, William Morgan wrote:

This is complaining about the output of the locale rubygem. What does
this print for you?

 $ irb -rlocale
 >> Locale.current
 => [#<Locale::Tag::Posix: en_US.utf8>] # what mine says

[after installing irb]

$ irb -rlocale
/usr/lib/ruby/1.8/irb/init.rb:252:in `require': no such file to load -- locale
(LoadError)
        from /usr/lib/ruby/1.8/irb/init.rb:252:in `load_modules'
        from /usr/lib/ruby/1.8/irb/init.rb:250:in `each'
        from /usr/lib/ruby/1.8/irb/init.rb:250:in `load_modules'
        from /usr/lib/ruby/1.8/irb/init.rb:21:in `setup'
        from /usr/lib/ruby/1.8/irb.rb:54:in `start'
        from /usr/bin/irb:13

[after installing the ruby locale libs]

$ irb -rlocale
irb(main):001:0> Locale.current
NoMethodError: undefined method `current' for Locale:Module


Best,

Erik

_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk