Problems deploying with capistrano and git
June 7th, 2008
This is more a record of my own thoughts and errors than a real post. So, reader beware.
Since switching my scm from subversion to git, I’ve run into a host of deployment problems with capistrano:
- I can no longer deploy without supplying my server password.
I have ssh configured on my server to perform public key authentication, so I don’t need to enter a password. Still, I keep the
PasswordAuthenticationoption set to ‘yes’. I would like to turn this off, for security purposes. - I have to put
default_run_options[:pty] = truein my deploy.rb file. I never had to do this before, and this is the line that requires me to enter my server password. :deploy_via, :remote_cachedoesn’t work. If I put this line in my deploy.rb file, it causes my deployment to fail. The update goes lightning quick anyway so I suppose it isn’t a big deal, but the fact that it breaks my deployment recipe just irks me.
If any other slicehost account holders are having similar problems please leave a comment or shoot me an email; maybe we can get this madness worked out.
Leave a Reply