From: Jonathan Hudson Date: 2009-02-03T03:12:01+09:00 Subject: Re: How to tell if one is running 32 or 64 bit Ruby on Mac OS X? On Tue, 3 Feb 2009 02:45:00 +0900, Wes Gamble wrote: > Can't really tell from this. Does anyone know definitively if Mac OS X > is still shipping with a 32 - bit version of Ruby or if there is a way > to check? > $ irb ['foo'].pack('p').size 8 on 64bit, 4 on 32bit. At least on Linux (and hopefully everywhere). -jh