Capistrano Deployment on Dreamhost
After much reading about the joys of capistrano, I decided to test it! I spent ages reading tutorials- and the excellent guide on the ruby on rails website (link). But I still couldn’t deploy my small test apps. I had some great pointers, but basically the gist is if you haven’t already logged into the remote servers by ssh and verified its fingerprint then capistrano deployment fails. Since you cannot ssh into your dreamhost database server, the trick to use is to list your web, app and database servers as the domain that you would like to host from; i.e. ruby.mygreenjar.com. Since all the appropriate database servers should be set in database.yml everything should execute perfectly.