delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/09/05/03:55:53

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:date:message-id:subject:from:to
:content-type; q=dns; s=default; b=JjL1kVdoBGduL6KpzIkCWGvo3qvrF
yjVY+wX7BGMHTdmIyEd10FHwaE6iiWHDwg9DCgS9JtriPxEPiER0+GMc3hW/RtjT
OCJMPxqY1lpRTpv/+Re1JFEzJsyyKftAwDX+Z/AU8NMqxNICY4jRSVVlEGvzJ/bU
NCgb4VPtoHygRI=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:date:message-id:subject:from:to
:content-type; s=default; bh=g9U3W0yOhSWA1L4EEv7aXe7b4kw=; b=pMy
8/C1NGiLWZChA/R+dwvw2jfFf7o/4MjODHgys9ahebGSsD7K0qVfDPaMrY/vxJ5w
UVA/m7FgUhs3S2Y8RdUfU0+57VqGAwfvyxekXPeO7ctFNbcnLhFdpa/YfA7walLZ
m3pAaTe+k5mIf/pKPlP77Vdzdn9m87/C0FaXlnyU=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-lb0-f177.google.com
MIME-Version: 1.0
X-Received: by 10.112.150.194 with SMTP id uk2mr9065998lbb.67.1409903692217; Fri, 05 Sep 2014 00:54:52 -0700 (PDT)
Date: Fri, 5 Sep 2014 09:54:52 +0200
Message-ID: <CAM9pMnNG0W5O6HAr_=cuxyZzup-DDOOS6PvtWCuvHc3qkuSxyg@mail.gmail.com>
Subject: gem command broken on Cygwin 64 with Ruby 2.0.0p481
From: Robert Klemme <shortcutter AT googlemail DOT com>
To: ruby-talk <ruby-talk AT ruby-lang DOT org>, cygwin <cygwin AT cygwin DOT com>
X-IsSubscribed: yes

Hi folks,

did someone of you experience this as well?

$ uname -a
CYGWIN_NT-6.1 arnie 1.7.32(0.274/5/3) 2014-08-13 23:06 x86_64 Cygwin
$ ruby --version
ruby 2.0.0p481 (2014-05-08) [x86_64-cygwin]
$ gem --version
2.4.1
$ gem list -l

*** LOCAL GEMS ***

io-console (0.4.2)
json (1.8.1)
minitest (4.7.5)
psych (2.0.5)
rake (10.3.2)
rdoc (4.1.1)
$ gem update
Updating installed gems
ERROR:  While executing gem ... (ArgumentError)
    invalid byte sequence in UTF-8
$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_ALL=
$ LANG=C gem update
Updating installed gems
ERROR:  While executing gem ... (ArgumentError)
    invalid byte sequence in US-ASCII

Apparently when reading a file the environment's encoding information
is applied. I'm just not sure whether this is an issue with gem
command or a Cygwin adjustment to that.

Bonus points for a solution. :-)

Kind regards

robert

-- 
[guy, jim].each {|him| remember.him do |as, often| as.you_can - without end}
http://blog.rubybestpractices.com/

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019