Glibc detected *** ruby: malloc(): memory corruption:

Thanks for the tip, but I managed to fix it.

I deleted the tarball install I made and then went with the YUM version,
and to get around an error I was getting with, i did the

ldconfig /usr/local/lib

and it worked ok after that