From: Dale Ackerman Date: 2010-01-24T11:19:21+09:00 Subject: Re: Test for OS name from inside ruby script Jacob Mitchell wrote: > 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. Thanks I got it going. I am using 'rbconfig' -- Posted via http://www.ruby-forum.com/.