Couchattach is a project mainly written in Ruby, it's free.
Script to attach a bunch of files/directories to a document in couchdb
404: Not Found