FWIW, there's dozen of articles on how to install on every release of Ubuntu, it seems:
http://del.icio.us/tag/rails+ubuntu