From: Dave Howell Date: 2010-06-18T07:00:31+09:00 Subject: Re: Dear gem: still no zlib. On Jun 17, 2010, at 13:11 , Shashank Tiwari wrote: > As a first step reinstall your macports for the right architecture and > uninstall your 32 bit ports and then install all 64 bit ports. Then install > the zlib port and then go from there. Read > http://trac.macports.org/wiki/Migration to reinstall macports and the > installed ports. > > If you built Ruby from source then after upgrading to Snow Leopard, please > uninstall all gems and reinstall them as well, to be on the safe side. This > is specially relevant for all gems that rely on native extensions, which are > OS architecture dependent. As you've hopefully read, the solution was to move the MacPorts directory so it couldn't be found by Rubygems. For the sake of other people who might find this thread later, though: All of my MacPorts files were already 64-bit. I was using the version of ruby installed in /system/library/frameworks/Ruby.framework; the one installed with Snow Leopard.