title: How can I get OS and OS ARCH information in Ruby?
body: <p>In Ruby script, I want to get OS information, not only Linux, but also 32bit or 64bit.</p>
  
  <p>That's because my program will run on multiple Linux platform. It calls a third part tool, the tool has sub-folder: <code>lin32</code>, <code>lin64</code>, I need to call proper version based on OS info.</p>