From: Glenn Smith Date: 2005-03-28T06:24:24+09:00 Subject: Re: RubyGems 0.8.8 not working on Suse 9.2 x64 FIXED! :o) I just recompiled my Linux Kernel (upgraded to the most recent 2.6.11.6), then recompiled/reinstalled RUBY. Then installed RUBYGEMS And GEMS works! I'm downloading RAILS as we speak!! Obviously something a bit screwy with SUSE's standard 64-bit kernel, a recompile/tune with the latest version has fixed Ruby/Gems, and also made my machine run a *lot* quicker!! Glenn On Fri, 25 Mar 2005 19:17:09 +0000, Glenn Smith wrote: > Don't think this is a "date" issue, more a general memory problem (in ruby?). > I added a simple line PUTS "test" at line 648 of > usr/local/lib/ruby/1.8/date.rb to check that this was the file at > fault, and when I ran "gem update" again it changed to: > > /usr/local/lib/ruby/1.8/date/format.rb:327: [BUG] Segmentation fault > > (I guess format.rb is called when I call PUTS?). > > I installed ruby on my system by downloading the ruby 1.8.2 stable > source, and installed (as root) using the usual ./configure; make; > make install, I'm guessing that's right? > > > On Fri, 25 Mar 2005 16:39:21 +0000, Glenn Smith wrote: > > Chad > > > > No, running that through Ruby works fine for me. > > > > Glenn > > > > > > On Fri, 25 Mar 2005 22:28:50 +0900, Chad Fowler wrote: > > > On Fri, 25 Mar 2005 06:44:50 +0900, Glenn Smith wrote: > > > > I've installed SUSE 9.2 on my home pc, the 64-bit version. > > > > > > > > I've downloaded, compiled and installed ruby (stable 1.8.2). Seems OK. > > > > Install gems 0.8.8, but this happens when I try to use it: > > > > > > > > gsmith@linux:~> gem update --backtrace > > > > Upgrading installed gems... > > > > /usr/local/lib/ruby/1.8/date/format.rb:433: [BUG] Segmentation fault > > > > ruby 1.8.2 (2004-12-25) [x86_64-linux] > > > > > > > > > > > > > > It looks like there is a bug in Date.parse, but I'm not able to > > > reproduce it. Glenn, would this reproduce the segfault? > > > > > > require 'date' > > > Date.parse '2004-10-18' > > > > > > -- > > > > > > Chad Fowler > > > http://chadfowler.com > > > http://rubycentral.org > > > http://rubygarden.org > > > http://rubygems.rubyforge.org (over 100,000 gems served!) > > > > > > > > > > -- > > > > All the best > > Glenn > > Aylesbury, UK > > > > -- > > All the best > Glenn > Aylesbury, UK > -- All the best Glenn Aylesbury, UK