Raise an error when a critical system call fails
Raise an error when a critical system call fails

If we fail a `system` call when generating the test app, we need to fail
the task. This also adds a `bundle update` call in case the `bundle
install` fails.

cbeer/engine_cart,darrenleeweber/engine_cart