From: Eric Hodel Date: 2007-01-24T18:06:21+09:00 Subject: Re: Can't install rubygems On Jan 23, 2007, at 20:39, lijie wrote: > 2007/1/24, M. Edward (Ed) Borasky : >> Eric Hodel wrote: >> > This may be a source of your problems. Ruby is not guaranteed >> to work >> > with -fomit-frame-pointer: >> > >> > http://www.google.com/search?q=ruby%20fomit-frame-pointer >> >> -O3 could also be a problem. I forget whether the Gentoo default >> includes "-fomit-frame-pointer" or not, but the default is >> *definitely* >> -O2 and not -O3. > > I have removed -formit-frame-pointer and changed -O3 to -O2, then > re-emerge ruby and rubygems, but nothing changes. > > I have tried all ways that I can think of, reinstall system, set > system date to 2006-12-25, ... Does the installer use network? my > network is very bad in these days. perhaps network has caused it. Maybe. These errors I've never seen: localhost distfiles # gem install activesupport Attempting local installation of 'activesupport' ERROR: Error installing gem activesupport[.gem]: string contains null byte localhost distfiles # gem install RedCloth-3.0.4.gem Attempting local installation of 'RedCloth-3.0.4.gem' ERROR: Error installing gem RedCloth-3.0.4.gem[.gem]: string contains null byte and should only come from a very confused ruby, or buggy C extensions. The C extensions built in to ruby shouldn't have bugs this bad. -- Eric Hodel - drbrain@segment7.net - http://blog.segment7.net I LIT YOUR GEM ON FIRE!