Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

RubyGems 0.8.8 not working on Suse 9.2 x64

0 views
Skip to first unread message

Glenn Smith

unread,
Mar 24, 2005, 4:44:50 PM3/24/05
to
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]

Aborted

Any ideas? If you need me to provide extra info, let me know.

Ta muchly

--

All the best
Glenn
Aylesbury, UK


Chad Fowler

unread,
Mar 25, 2005, 8:28:50 AM3/25/05
to
On Fri, 25 Mar 2005 06:44:50 +0900, Glenn Smith <glenn...@gmail.com> 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!)


Glenn Smith

unread,
Mar 25, 2005, 11:39:42 AM3/25/05
to
Chad

No, running that through Ruby works fine for me.

Glenn

Glenn Smith

unread,
Mar 25, 2005, 2:17:31 PM3/25/05
to
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?

Glenn Smith

unread,
Mar 27, 2005, 4:24:24 PM3/27/05
to
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

0 new messages