I documented a tutorial that acts as a primer to Rails. It covers building a web blog using Sinatra, sqlite database, git and the twitter bootstrap locally on a MAC and then deploying to heroku and migrating to a postgreSQL database.
I could not find a concise detailed tutorial so I combined several from around the web.