From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.204.174.193 with SMTP id u1cs109527bkz; Mon, 26 Apr 2010 13:26:07 -0700 (PDT) Received: by 10.216.90.77 with SMTP id d55mr3806714wef.17.1272313566377; Mon, 26 Apr 2010 13:26:06 -0700 (PDT) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id h20si13847818wbc.99.2010.04.26.13.26.05; Mon, 26 Apr 2010 13:26:06 -0700 (PDT) Received-SPF: pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-talk-bounces@rubyforge.org Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 5C71E185831B; Mon, 26 Apr 2010 16:26:05 -0400 (EDT) Received: from entry.masanjin.net (masanjin.net [209.20.72.13]) by rubyforge.org (Postfix) with ESMTP id 2C1381858310 for ; Mon, 26 Apr 2010 16:25:56 -0400 (EDT) Received: from w by entry.masanjin.net with local (Exim 4.69) (envelope-from ) id 1O6UsN-0004j7-Ty for sup-talk@rubyforge.org; Mon, 26 Apr 2010 16:25:55 -0400 From: William Morgan To: sup-talk In-reply-to: References: <1272308962-sup-3272@masanjin.net> Date: Mon, 26 Apr 2010 16:25:55 -0400 Message-Id: <1272313012-sup-3555@masanjin.net> User-Agent: Sup/git Subject: Re: [sup-talk] charset warning when starting sup X-BeenThere: sup-talk@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: User & developer discussion of Sup List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: sup-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org 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: [#, #, #, #] 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 _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk