Setting up Ubuntu for Ruby on Rails development

NOTE: This is a work-in-progress. I’m publishing it early so that Sam can use it. If it doesn’t work for you exactly as expected, well, that’s to be expected.
Every time I setup a new Ubuntu machine, I have to search around to come up with a procedure for getting everything I need to develop Ruby [...]