Date: Sat, 04 Jan 2014 15:45:12 +0100 From: John Marino <freebsd.contact@marino.st> To: Marco Beishuizen <mbeis@xs4all.nl> Cc: freebsd-ports@freebsd.org Subject: Re: how to install ruby18 Message-ID: <52C81E78.4020209@marino.st> In-Reply-To: <alpine.BSF.2.00.1401041529480.30757@localhost> References: <alpine.BSF.2.00.1401041517590.30757@localhost> <52C81A22.5030501@marino.st> <alpine.BSF.2.00.1401041529480.30757@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
On 1/4/2014 15:38, Marco Beishuizen wrote: > On Sat, 4 Jan 2014, the wise John Marino wrote: > > Portupgrade builds fine, but I have my locale set to UTF-8 and in that > case the pkgdb breaks and portupgrade no longer works: > > ... > root@yokozuna:/home/marco# pkgdb -FfO > ---> Checking the package registry database > invalid byte sequence in UTF-8 > ... > > When the locale is set to the standard C the error changes to "invalid > byte sequence in US-ASCII". > > I have this error for a very long time and after a lot of searching and > fiddling with the locale settings have no idea how to solve this. > > Ruby18 worked fine so that would be the best option imo. Ruby18 is gone forever, and unsupported, so that's not the best option. DragonFly had these same type errors with ruby19, until we redefined GEM_ENV in bsd.ruby.mk -GEM_ENV?= LC_CTYPE=UTF-8 +GEM_ENV+= LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 Maybe setting GEM_ENV in your make.conf and rebuilding all the ruby stuff would fix it for you too. Shot in the dark. John
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52C81E78.4020209>