The following dependencies failed. SVN could not be found?

I am trying to run “cap -q deploy:check” from my local machine and I
run in to this error:


domain.com: sh: which: command not found

The following dependencies failed. Please check them and try again:
→ `/usr/bin/svn’ could not be found in the path (domain.com)


In my “deploy.rb” I set these variables:


set :scm, :subversion
set :scm_command, “/usr/bin/svn” # CENTOS 5


SVN is present on the remote machine I installed it using “yum -y
install subversion” I have cheked the “/usr/bin/svn” and it is there.
I am using Capistrano 2.1.0.

What could be the problem, any ideas? I have attached a picture of my
console.