Top Level Namespace

Defined Under Namespace

Modules: RFreeImage

Constant Summary collapse

CWD =
File.expand_path(File.dirname(__FILE__))
FREEIMAGE_DIR =
File.join(CWD, '..', '..', 'vendor', 'FreeImage')

Instance Method Summary collapse

Instance Method Details

#sys(cmd) ⇒ Object



11
12
13
14
15
16
17
# File 'ext/rfreeimage/extconf.rb', line 11

def sys(cmd)
	puts " -- #{cmd}"
	unless ret = xsystem(cmd)
		raise "ERROR: '#{cmd}' failed"
	end
	ret
end