fixing up ruby revcode