From: Jacob Mitchell Date: 2010-01-23T16:09:45+09:00 Subject: Re: Test for OS name from inside ruby script --000e0cd71eca4f793d047dcf827f Content-Type: text/plain; charset=ISO-8859-1 On Sat, Jan 23, 2010 at 1:56 AM, Dale Ackerman wrote: > How do I test in my scripts for the OS type? So I can conditionally run > different code..? > A quick google search led to this: http://snippets.dzone.com/posts/show/6238 I imagine using RUBY_PLATFORM in some manner is a good solution. --000e0cd71eca4f793d047dcf827f--