OS version

Do you mean that you just need to know the platform name (and not the
specific version)? If so, you can use the RUBY_PLATFORM constant.




-----Original Message-----
From: Kontra, Gergely [mailto:kgergely@mlabdial.hit.bme.hu]

Is there a way to find out the OS version from ruby?
The above applies to *nix only. I don’t how to do it in Windows.
Well, the only thing I need it for is to detect windows :slight_smile: