From: Dao Shi Date: 2006-12-04T04:20:15+09:00 Subject: How to get operating system type info Hi Guys, I'm writing a software building script in Ruby for Unix and Windows. I want to know the type of the platform that my script is running on - whether it's Windows, Linux or MacOSX. I need to do something special for different os. Is there any way to get this without hacking by myself? Google gave me nothing useful. Thanks, D -- Posted via http://www.ruby-forum.com/.