How do you setup Capistrano using the Rails droplet?

  • Posted March 15, 2014

I have just started out with Rails development, and I have been manually copying my source over sftp to my pre-built Rails droplet.

I’d like to take this further and deploy using git and Capistrano. All of the tutorials I find take you from setting up the vps, but this part is done. I don’t know if any steps performed there are crucial.

How would you setup Capistrano using the Digital Ocean Rails (Rails, Unicorn and nginx) droplet?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

If you’ve already got your Rails app up and running on Unicorn and nginx, you should be ready to install and configure Capistrano. The steps setting up the Rails app and the HTTP server shouldn’t affect Capistrano, as it connects over ssh. To get an overview of the basic install, start here: <br> <br> <br> <br>This article go more in depth. You can skip down to the “Working With Capistrano To Automate Deployments” section: <br> <br>