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.
From: Kontra, Gergely [mailto:firstname.lastname@example.org]
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