From: "Iñaki Baz Castillo" Date: 2010-01-15T08:12:16+09:00 Subject: How to know the OS architecture (32 or 64 bits)? Hi, is there a reliable way under Ruby to know the OS architecture (32 or 64 bits)? I've just found RUBY_PLATFORM constant which returns "x86_64-linux" under 64 bits, however it doesn't send very reliable for me. I need a way working under Linux and BSD. Thanks for any suggestion. -- Iñaki Baz Castillo