# The following dependencies failed. SVN could not be found?

**URL:** <https://www.ruby-forum.com/t/the-following-dependencies-failed-svn-could-not-be-found/120132>\
**Category:** Deployment\
**Created:** [November 14, 2007, 1:14am UTC](https://www.ruby-forum.com/t/the-following-dependencies-failed-svn-could-not-be-found/120132 "2007-11-14T01:14:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![josef](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/ec9cab/32.png) [@josef](https://www.ruby-forum.com/u/josef)\
**Post date:** [November 14, 2007, 1:14am UTC](https://www.ruby-forum.com/t/the-following-dependencies-failed-svn-could-not-be-found/120132/1 "2007-11-14T01:14:13Z")

</div>

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

* * *

[domain.com](http://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](http://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.
