> OK. But what is the way you determine which OS you're running on?
>
You can use the RUBY_PLATFORM variable. Rubicon
(http://www.rubygarden.org/triple-r/index.html) makes use of this to build a
hierarchy of classes which represent platforms. You might want to look at
the way it's done there for a clean example.
Chad