Skip to content

Instantly share code, notes, and snippets.

@teohm
Forked from retr0h/gist:179592
Created November 7, 2013 11:06
Show Gist options
  • Save teohm/7352915 to your computer and use it in GitHub Desktop.
Save teohm/7352915 to your computer and use it in GitHub Desktop.
require 'rubygems'
require 'ohai'
@ohai = Ohai::System.new
@ohai.all_plugins
puts @ohai[:platform]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment