From: Phrogz Date: 2007-11-30T04:10:04+09:00 Subject: Re: how to know the platform ? On Nov 29, 8:39 am, unbewusst.s...@weltanschauung.com.invalid (Une Bévue) wrote: > because i have some part of a script only running on MacOS X ony i'd > like to know how to detect the platform from a ruby script. Please search the archives - this has come up at least twice recently, with discussion about regexps that do and don't work, and gems that exist to do this for you.