how to install ruby18

Gyrd Thane Lange gyrd-se at thanelange.no
Sat Jan 4 23:26:24 UTC 2014


On Sat, 04 Jan 2014 15:41:31 +0100
Mathieu Arnold <mat at FreeBSD.org> wrote:

> +--On 4 janvier 2014 15:21:07 +0100 Marco Beishuizen <mbeis at xs4all.nl>
> wrote:
> | Hi,
> | 
> | Since portupgrade doesn't work with the default ruby19 ("invalid
> | byte sequence" errors) I want to reinstall ruby18 instead. But
> | ruby18 has been removed from the ports, so how can I install
> | ruby18 again?
> 
> That error may come from a non us-ascii character in portupgrade's
> configuration files.

Hi!

I had a similar problem some time ago. Some intermediate combination of
pkg-tools/ruby/portupgrade installed bad metadata. The following
helped me identity the ports with bad files:

find /var/db/pkg -type f -exec iconv -t US-ASCII {} > /dev/null \;

Reinstalling the indicated ports solved it for me. I'm currently using
pkg-tools, ruby19 and portupgrade with no problems on FreeBSD 8.3.

Best regards,
Gyrd ^_^


More information about the freebsd-ports mailing list