You can clone with
HTTPS or Subversion.
Cucumber returns an exit code 0 (which means "ok" as far as i know) when a Background fails.
The original question with a code example
and the mailing list:
Added a spec. Fail if a step failed. Solves #205.
Note that this issue can be closed (I don't have the permission to do so).
Fixed in jmerrifield/cucumber@eb6d1aa