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.
On Sep 5, 2014, at 0:54, Robert Klemme <shortcutter@googlemail.com> wrote:
$ 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.
$ 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.
Hrm... do you have a ~/.gemrc?
No. I had a directory ~/.gem. But moving that away does not make a difference.
Otherwise, try something like:
ruby -E US-ASCII -S gem update --system
I don't expect that this will make a difference - and, yes: