Top Level Namespace

Defined Under Namespace

Modules: Ohsnap

Constant Summary collapse

CWD =
File.expand_path(File.dirname(__FILE__))

Instance Method Summary collapse

Instance Method Details

#sys(cmd) ⇒ Object



3
4
5
6
7
8
9
# File 'ext/ohsnap/extconf.rb', line 3

def sys(cmd)
  puts "  -- #{cmd}"
  unless ret = xsystem(cmd)
    raise "#{cmd} failed, please report issue on http://github.com/brianmario/ohsnap"
  end
  ret
end