My solution for this was to define the path in ~/.ssh/environment, and for that to be read you have to make sure your sshd_config contains PermitUserEnvironment yes.<div><div><div><br></div><div>Cheers,</div><div><br></div>
<div>Jon</div><br><div class="gmail_quote">2010/1/20 Riccardo Tacconi <span dir="ltr"><<a href="mailto:rtacconi@gmail.com">rtacconi@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br><br>I am using Capistrano for the first time. When I run 'cap deploy:migration' I get the error that either locally and remotely Capistrano is not able to find svn. I can run svn from the command line both in my PC and server.<br>

<br>I think that Capistrano is not getting the PATH of my user, so it is not able to find svn. I have ask a question on <a href="http://stackoverflow.com" target="_blank">stackoverflow.com</a> and the details are there: <a href="http://stackoverflow.com/questions/2101089/capistrano-cannot-find-svn-client" target="_blank">http://stackoverflow.com/questions/2101089/capistrano-cannot-find-svn-client</a><br>

<br>Cheers,<br><br>-- <br>Riccardo Tacconi<br>Web developer at Wolseley UK <br>VIRTUELOGIC LIMITED (Director)<br><br><a href="http://www.linkedin.com/in/riccardotacconi" target="_blank">http://www.linkedin.com/in/riccardotacconi</a><br>
<a href="http://riccardotacconi.blogspot.com/" target="_blank">http://riccardotacconi.blogspot.com/</a><br>
<a href="http://twitter.com/rtacconi" target="_blank">http://twitter.com/rtacconi</a><br>Linux user: #400461<br>
<br>_______________________________________________<br>
Chat mailing list<br>
<a href="mailto:Chat@lists.lrug.org">Chat@lists.lrug.org</a><br>
<a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
<br></blockquote></div><br></div></div>