I've put up the code for RubyBuild in a git repository on github:

   http://github.com/stepheneb/buildruby/tree/master