Dione is a CMS written on rack and couchdb in a few hundred lines of Ruby.