From: Carl Youngblood Date: 2004-07-04T07:23:21+09:00 Subject: Best way to determine if running on windows or unix-based system I'm going to try using Ruby/DL to write a full-fledged ruby extension for the curl library. I'd like it to work on both Windows and Unix-based systems. I'm sure there are a lot of ways of doing this, but what do you guys think is the best way to determine whether your script is being called on a windows-based system or a unix-based system? Thanks, Carl