Take a look at a working demo of CruiseControl.rb.
It’s pretty sweet.
CruiseControl.rb is a
tool. Its basic purpose in life is to alert members of a software project when one of them checks
something into source control that breaks the build.
CC.rb is easy to install, pleasant to use and simple to hack. It's written in
cruise add <name> -u <url>