From: Carl Youngblood Date: 2004-07-04T12:07:13+09:00 Subject: Re: Best way to determine if running on windows or unix-based system Okay, forgive me for my ignorance but I thought a "ruby extension" meant taking some library that was written in C and making its functionality accessible from within ruby. The thing is, I'd rather not have to do any compiling or anything to install my extension. I'd like to simply check that the required shared library is in the path, grab it and create a ruby-style wrapper class for it without needing to do any compiling. Is there a better way to do this than using Ruby/DL? > BTW, what do you mean by "ruby extension"? If you mean an > extension library written in C, you definitely don't need DL. > You can use HAVE_* macros in config.h. > > -- > Nobu Nakada