EE2-cap-deploy is a project mainly written in Ruby, it's free.
Capistrano deploy recipe for ExpressionEngine 2.x