Easy Rake-based Deployment for Git-hosted Rails Apps (opens in new tab)
I searched a lot of places for an easy way to automate my deployments for So, as most people do, I wrote my own. Hopefully this short rake task can help you as well. This assumes that your application server has your app checked out as a clone of some git repo you push changes to and that you are running under passenger. When I want to deploy, I log in to my production server, cd to my app repo, and then run: rake myapp:deploy For just strictly view updates, it completes in 3 seconds or less....
Read the original article