Unable to install rubygems

HI All,

I had installed the ruby 1.8.7 with patch level 253 successfully on my
ubuntu 10.04, but while installing ruby gems I am facing the below
error,
can anybody help me on this.

ruby -v
ruby 1.8.7 (2010-04-19 patchlevel 253) [i686-linux], MBARI 0x8770, Ruby
Enterprise Edition 2010.02

*gem install mongrel

**** longjmp causes uninitialized stack frame ***: /usr/bin/ruby
terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x50)[0x3612d0]
/lib/tls/i686/cmov/libc.so.6(+0xe223a)[0x36123a]
/usr/bin/ruby[0x80577b9]
/usr/bin/ruby[0x80577d5]
/usr/bin/ruby(rb_thread_schedule+0x9fc)[0x80652ac]
/usr/bin/ruby(rb_thread_kill+0x14)[0x8066c74]
/usr/bin/ruby[0x806071d]
/usr/bin/ruby[0x80608b9]
/usr/bin/ruby[0x806a869]
/usr/bin/ruby[0x806a290]
/usr/bin/ruby[0x8060601]
/usr/bin/ruby[0x80608b9]
/usr/bin/ruby[0x806a869]
/usr/bin/ruby[0x806995b]
/usr/bin/ruby[0x8060601]
/usr/bin/ruby[0x80608b9]
/usr/bin/ruby[0x806aaa5]
/usr/bin/ruby[0x8069d54]
/usr/bin/ruby[0x8060601]
/usr/bin/ruby[0x80608b9]
/usr/bin/ruby[0x805df2d]
/usr/bin/ruby[0x8069581]
/usr/bin/ruby[0x805de52]
/usr/bin/ruby[0x806a0eb]
/usr/bin/ruby[0x805e630]
/usr/bin/ruby[0x8060601]
/usr/bin/ruby[0x80608b9]
/usr/bin/ruby[0x806aaa5]
/usr/bin/ruby[0x806a715]
/usr/bin/ruby[0x8060601]
/usr/bin/ruby[0x80608b9]
/usr/bin/ruby[0x806a869]
/usr/bin/ruby[0x805e48b]
/usr/bin/ruby[0x805de52]
/usr/bin/ruby[0x8060601]
/usr/bin/ruby[0x80608b9]
/usr/bin/ruby[0x806aaa5]
/usr/bin/ruby[0x805e58a]
/usr/bin/ruby[0x805e4aa]
/usr/bin/ruby[0x805de52]
/usr/bin/ruby[0x8060601]
/usr/bin/ruby[0x80608b9]
/usr/bin/ruby[0x806a869]
/usr/bin/ruby[0x805e48b]
/usr/bin/ruby[0x80693f1]
/usr/bin/ruby[0x805de52]
/usr/bin/ruby[0x806a0eb]
/usr/bin/ruby[0x805e630]
/usr/bin/ruby[0x805de52]
/usr/bin/ruby[0x8060601]
/usr/bin/ruby[0x80608b9]
/usr/bin/ruby[0x806a869]
/usr/bin/ruby[0x805e48b]
/usr/bin/ruby[0x805de52]
/usr/bin/ruby[0x806a0eb]
/usr/bin/ruby[0x805e630]
/usr/bin/ruby[0x805de52]
/usr/bin/ruby[0x8060601]
/usr/bin/ruby[0x80608b9]
/usr/bin/ruby[0x806aaa5]
/usr/bin/ruby[0x805e48b]
/usr/bin/ruby[0x805de52]
/usr/bin/ruby[0x8060601]
======= Memory map: ========
00110000-00112000 r-xp 00000000 08:06 3805677
/usr/lib/ruby/1.8/i686-linux/etc.so
00112000-00113000 r–p 00001000 08:06 3805677
/usr/lib/ruby/1.8/i686-linux/etc.so
00113000-00114000 rw-p 00002000 08:06 3805677
/usr/lib/ruby/1.8/i686-linux/etc.so
00114000-0012e000 r-xp 00000000 08:06 3805682
/usr/lib/ruby/1.8/i686-linux/syck.so
0012e000-0012f000 r–p 00019000 08:06 3805682
/usr/lib/ruby/1.8/i686-linux/syck.so
0012f000-00130000 rw-p 0001a000 08:06 3805682
/usr/lib/ruby/1.8/i686-linux/syck.so
00130000-00131000 r-xp 00000000 08:06 3805666
/usr/lib/ruby/1.8/i686-linux/fcntl.so
00131000-00132000 r–p 00000000 08:06 3805666
/usr/lib/ruby/1.8/i686-linux/fcntl.so
00132000-00133000 rw-p 00001000 08:06 3805666
/usr/lib/ruby/1.8/i686-linux/fcntl.so
00133000-00150000 r-xp 00000000 08:06 11403438 /lib/libgcc_s.so.1
00150000-00151000 r–p 0001c000 08:06 11403438 /lib/libgcc_s.so.1
00151000-00152000 rw-p 0001d000 08:06 11403438 /lib/libgcc_s.so.1
001e2000-00206000 r-xp 00000000 08:06 11403697 /lib/tls/i686/cmov/
libm-2.11.1.so
00206000-00207000 r–p 00023000 08:06 11403697 /lib/tls/i686/cmov/
libm-2.11.1.so
00207000-00208000 rw-p 00024000 08:06 11403697 /lib/tls/i686/cmov/
libm-2.11.1.so
0024d000-00256000 r-xp 00000000 08:06 11403688 /lib/tls/i686/cmov/
libcrypt-2.11.1.so
00256000-00257000 r–p 00008000 08:06 11403688 /lib/tls/i686/cmov/
libcrypt-2.11.1.so
00257000-00258000 rw-p 00009000 08:06 11403688 /lib/tls/i686/cmov/
libcrypt-2.11.1.so
00258000-0027f000 rw-p 00000000 00:00 0
0027f000-003d2000 r-xp 00000000 08:06 11403695 /lib/tls/i686/cmov/
libc-2.11.1.so
003d2000-003d4000 r–p 00153000 08:06 11403695 /lib/tls/i686/cmov/
libc-2.11.1.so
003d4000-003d5000 rw-p 00155000 08:06 11403695 /lib/tls/i686/cmov/
libc-2.11.1.so
003d5000-003d8000 rw-p 00000000 00:00 0
0047e000-00488000 r-xp 00000000 08:06 3805680
/usr/lib/ruby/1.8/i686-linux/socket.so
00488000-00489000 r–p 00009000 08:06 3805680
/usr/lib/ruby/1.8/i686-linux/socket.so
00489000-0048a000 rw-p 0000a000 08:06 3805680
/usr/lib/ruby/1.8/i686-linux/socket.so
004f2000-00507000 r-xp 00000000 08:06 11403690 /lib/tls/i686/cmov/
libpthread-2.11.1.so
00507000-00508000 r–p 00014000 08:06 11403690 /lib/tls/i686/cmov/
libpthread-2.11.1.so
00508000-00509000 rw-p 00015000 08:06 11403690 /lib/tls/i686/cmov/
libpthread-2.11.1.so
00509000-0050b000 rw-p 00000000 00:00 0
00524000-00525000 r-xp 00000000 00:00 0 [vdso]
00544000-00557000 r-xp 00000000 08:06 11403553 /lib/libz.so.1.2.3.3
00557000-00558000 r–p 00012000 08:06 11403553 /lib/libz.so.1.2.3.3
00558000-00559000 rw-p 00013000 08:06 11403553 /lib/libz.so.1.2.3.3
00639000-0063c000 r-xp 00000000 08:06 3805679
/usr/lib/ruby/1.8/i686-linux/thread.so
0063c000-0063d000 r–p 00002000 08:06 3805679
/usr/lib/ruby/1.8/i686-linux/thread.so
0063d000-0063e000 rw-p 00003000 08:06 3805679
/usr/lib/ruby/1.8/i686-linux/thread.so
00649000-0064d000 r-xp 00000000 08:06 11403714 /lib/tls/i686/cmov/
libnss_dns-2.11.1.so
0064d000-0064e000 r–p 00004000 08:06 11403714 /lib/tls/i686/cmov/
libnss_dns-2.11.1.so
0064e000-0064f000 rw-p 00005000 08:06 11403714 /lib/tls/i686/cmov/
libnss_dns-2.11.1.so
00663000-006a3000 r-xp 00000000 08:06 4329500
/usr/lib/ruby/site_ruby/1.8/i686-linux/openssl.so
006a3000-006a4000 r–p 0003f000 08:06 4329500
/usr/lib/ruby/site_ruby/1.8/i686-linux/openssl.so
006a4000-006a5000 rw-p 00040000 08:06 4329500
/usr/lib/ruby/site_ruby/1.8/i686-linux/openssl.so
006a5000-006a6000 rw-p 00000000 00:00 0
0070d000-0070f000 r-xp 00000000 08:06 11403689 /lib/tls/i686/cmov/
libdl-2.11.1.so
0070f000-00710000 r–p 00001000 08:06 11403689 /lib/tls/i686/cmov/
libdl-2.11.1.so
00710000-00711000 rw-p 00002000 08:06 11403689 /lib/tls/i686/cmov/
libdl-2.11.1.so
00711000-0084b000 r-xp 00000000 08:06 11403909 /lib/libcrypto.so.0.9.8
0084b000-00853000 r–p 00139000 08:06 11403909 /lib/libcrypto.so.0.9.8
00853000-00861000 rw-p 00141000 08:06 11403909 /lib/libcrypto.so.0.9.8
00861000-00864000 rw-p 00000000 00:00 0
00864000-00865000 —p 00000000 00:00 0
00865000-00966000 rwxp 00000000 00:00 0
00977000-00979000 r-xp 00000000 08:06 11403476
/lib/libnss_mdns4_minimal.so.2
00979000-0097a000 r–p 00001000 08:06 11403476
/lib/libnss_mdns4_minimal.so.2
0097a000-0097b000 rw-p 00002000 08:06 11403476
/lib/libnss_mdns4_minimal.so.2
009fa000-00a04000 r-xp 00000000 08:06 11403691 /lib/tls/i686/cmov/
libnss_files-2.11.1.so
00a04000-00a05000 r–p 00009000 08:06 11403691 /lib/tls/i686/cmov/
libnss_files-2.11.1.so
00a05000-00a06000 rw-p 0000a000 08:06 11403691 /lib/tls/i686/cmov/
libnss_files-2.11.1.so
00ac0000-00ac4000 r-xp 00000000 08:06 3805670
/usr/lib/ruby/1.8/i686-linux/stringio.so
00ac4000-00ac5000 r–p 00003000 08:06 3805670
/usr/lib/ruby/1.8/i686-linux/stringio.so
00ac5000-00ac6000 rw-p 00004000 08:06 3805670
/usr/lib/ruby/1.8/i686-linux/stringio.so
00af3000-00b0e000 r-xp 00000000 08:06 11403607 /lib/ld-2.11.1.so
00b0e000-00b0f000 r–p 0001a000 08:06 11403607 /lib/ld-2.11.1.so
00b0f000-00b10000 rw-p 0001b000 08:06 11403607 /lib/ld-2.11.1.so
00c35000-00c45000 r-xp 00000000 08:06 11403692 /lib/tls/i686/cmov/
libresolv-2.11.1.so
00c45000-00c46000 r–p 00010000 08:06 11403692 /lib/tls/i686/cmov/
libresolv-2.11.1.so
00c46000-00c47000 rw-p 00011000 08:06 11403692 /lib/tls/i686/cmov/
libresolv-2.11.1.so
00c47000-00c49000 rw-p 00000000 00:00 0
00d51000-00d59000 r-xp 00000000 08:06 4329502
/usr/lib/ruby/site_ruby/1.8/i686-linux/zlib.so
00d59000-00d5a000 r–p 00007000 08:06 4329502
/usr/lib/ruby/site_ruby/1.8/i686-linux/zlib.so
00d5a000-00d5b000 rw-p 00008000 08:06 4329502
/usr/lib/ruby/site_ruby/1.8/i686-linux/zlib.so
00d60000-00d61000 r-xp 00000000 08:06 3805664
/usr/lib/ruby/1.8/i686-linux/rational.so
00d61000-00d62000 r–p 00000000 08:06 3805664
/usr/lib/ruby/1.8/i686-linux/rational.so
00d62000-00d63000 rw-p 00001000 08:06 3805664
/usr/lib/ruby/1.8/i686-linux/rational.so
00de6000-00de9000 r-xp 00000000 08:06 3805691
/usr/lib/ruby/1.8/i686-linux/digest.so
00de9000-00dea000 r–p 00002000 08:06 3805691
/usr/lib/ruby/1.8/i686-linux/digest.so
00dea000-00deb000 rw-p 00003000 08:06 3805691
/usr/lib/ruby/1.8/i686-linux/digest.so
00e63000-00e6a000 r-xp 00000000 08:06 11403700 /lib/tls/i686/cmov/
librt-2.11.1.so
00e6a000-00e6b000 r–p 00006000 08:06 11403700 /lib/tls/i686/cmov/
librt-2.11.1.so
00e6b000-00e6c000 rw-p 00007000 08:06 11403700 /lib/tls/i686/cmov/
librt-2.11.1.so
00f70000-00fb4000 r-xp 00000000 08:06 11403907
/lib/libssl.so.0.9.8Aborted

regards,
Loganathan

Seems you have problem with some dependence gem.
Can you show output of:
gem install -V mongrel

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs