Exit non-zero if gem install fails
Propagate errors from formula back through brew-gem so scripts can detect if the gem install failed (e.g., due to extension build issues).
Propagate errors from formula back through brew-gem so scripts can detect if the gem install failed (e.g., due to extension build issues).