a ruby script to automatically check out a rails app and deploy with cap