From: Justin Collins Date: 2009-11-11T05:54:03+09:00 Subject: Re: Good or best way to allocate a large array > Is there any way to tell what architecture Ruby thinks I'm using? > > RK> Cheers > > RK> robert > Check the size of an integer. $ ruby -v ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux] $ irb irb(main):001:0> 1.size => 8 $ ruby -v ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-linux] $ irb irb(main):001:0> 1.size => 4 -Justin