OS
The OS gem allows for some easy telling if you’re on windows or not.
require ‘os’ >> OS.windows?
>> OS.bits
If there are any other features you’d like, let me know.
github.com/rdp/os