Source code for blog post: http://severe-day-127.heroku.com/2011/02/20/using-rubyrake-to-build-a-c-console-application/