A Chef recipe for ProFTPD

I needed to deploy an anonymous FTP server, and of course I wanted to do it using Chef, so I went looking for a Chef recipe to install ProFTPD. Sadly, the lazyweb failed me. So, I did some actual work so the lazyweb won't fail you. :)

More …

Paperclip and MongoMapper

I started a new project recently that deals with a lot of imported data, so it seemed like a good excuse to try out MongoDB and MongoMapper. The imported data also has a associated images, so I wanted to get the Paperclip plugin working with my Mongo-based models. Fortunately for me, it actually didn't take too much work to pull out the ActiveRecord-specific bits. Here's what I did...

More …

Automating ec2 deployments with Ruby

Recently I've had a couple of clients choose Amazon EC2 for their deployment environments, so I've been spending more time playing with EC2 lately than I ever had before. I set out to create a repeatable and time-efficient deployment process, and the result of my work is an easy to use ruby script, detailed below.

More …