Shell out on Windows or *nix with ease
gem install pg-safesys
require "pg-safesys" class Foo include PG::SafeSys ... safe_system('ls') end