netzpirat/guard-jasmine — pull request #6 by minch (2011-10-31 18:13:53+00:00)
Title: small fix so that we get a proper exit status to system/shell

Awesome recent cli changes! This is just a small tweak so that an exit status is properly returned to the system/shell (see the diff). It's probably not exactly what you want as you might lose your ::Guard::UI.error message. Anyhow, it looks like the problem is that Kernel.exit always raises so your rescue will always return a 0. So making use of Process.exit! instead.