From: Michael Fellinger Date: 2007-07-29T04:03:28+09:00 Subject: Re: checking if machine is 64-bit On 7/29/07, Suraj Kurapati wrote: > Hello, > > I am checking if the machine is 64-bit by doing this: > > require 'rbconfig' > is_machine_64_bit = ( Config::CONFIG["arch"] =~ /64/ ) Config::CONFIG['arch'] # "x86_64-linux" > Is there a better way? Not that i know of. ^ manveru