You'll undoubtedly want Git, the version control of choice for most Rubyists. While useful in conjunction with services like Github, it's also very useful when working by yourself. On Ubuntu, this is a simple apt-get command.
$ sudo apt-get install git
On earlier versions of Ubuntu or on other distros, you may need to use the package git-core.