user gem os to detect OS platform