Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: William Morgan <wmorgan-sup@masanjin.net>
To: sup-talk <sup-talk@rubyforge.org>
Subject: Re: [sup-talk] charset warning when starting sup
Date: Mon, 26 Apr 2010 16:25:55 -0400	[thread overview]
Message-ID: <1272313012-sup-3555@masanjin.net> (raw)
In-Reply-To: <alpine.DEB.2.00.1004261612050.2089@flfbcjrt>

Reformatted excerpts from Erik Quaeghebeur's message of 2010-04-26:
> $ irb -rlocale
> irb(main):001:0> Locale.current
> NoMethodError: undefined method `current' for Locale:Module

Hm. I don't understand this package, or the intricacies of the unix
locale system in general. Judging from the ruby-locale docs,
Locale.current should be set in this manner:

  Get the value from environment variables order by
  LANGUAGE > LC_ALL > LC_MESSAGES > LANG. LANGUAGE can be set plural
  locales such as "en_CA:en_US", others can be set a locale only such as
  "en_CA".

  (http://www.yotabanana.com/hiki/ruby-locale-howto.html)

When I try setting my LANGUAGE var to be the same as yours, I get:

  [#<Locale::Tag::Posix: nl_BE>, #<Locale::Tag::Posix: nl>, #<Locale::Tag::Posix: en_US>, #<Locale::Tag::Posix: en>]

So I'm not sure where to go from here. If you can somehow convince
ruby-locale to work on your system, then you can get rid of the warning.
Or, you can simply comment out line 291 of sup.rb.
-- 
William <wmorgan-sup@masanjin.net>
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk


      reply	other threads:[~2010-04-26 20:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-26  4:51 Erik Quaeghebeur
2010-04-26 19:12 ` William Morgan
2010-04-26 20:12   ` Erik Quaeghebeur
2010-04-26 20:25     ` William Morgan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1272313012-sup-3555@masanjin.net \
    --to=wmorgan-sup@masanjin.net \
    --cc=sup-talk@rubyforge.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox