From: Suraj Kurapati Date: 2008-09-03T10:51:20+09:00 Subject: Re: Can a Ruby program determine whether it's running on a 32-bit or 64-bit system? Eric Promislow wrote: > Can a Ruby program determine whether > it's running on a 32-bit or 64-bit system? Yes. Look at the result of calling the 'size' method on a Fixnum; it will be 4 on 32-bit machines, and 8 on 64-bit machines. >> 0.size => 4 -- Posted via http://www.ruby-forum.com/.