Operational System Questiam

Bla ... wrote:

Hi, i'm trying to save a file in one place if it's Linux and another one if it's WIndows.... But if someone using Windows put to save on Linux, will show a error page. How can i verify what of those are the user using?

I believe RUBY_PLATFORM should have that information. It's rare that you'd need it, though; have you looked at the Tempdir stuff?