# Capistrano Issues

**URL:** <https://www.ruby-forum.com/t/capistrano-issues/57622>\
**Category:** Rails\
**Created:** [April 12, 2006, 3:52pm UTC](https://www.ruby-forum.com/t/capistrano-issues/57622 "2006-04-12T15:52:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dukael](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c77e96/32.png) [@dukael](https://www.ruby-forum.com/u/dukael)\
**Post date:** [April 12, 2006, 3:52pm UTC](https://www.ruby-forum.com/t/capistrano-issues/57622/1 "2006-04-12T15:52:04Z")

</div>

Well I finnally bit the bullet and upgrade to capistrano and have run  
into several issues that I can’t seem to find a fix for. Switchtower  
worked perfectly but I can not get cap to work especially with the  
change to the command to run a deploy.

The following code worked fine in switchtower to deploy:

switchtower -vvvv -S stage=stage -r config/deploy -a deploy

The stage variable could either be stage, test, production and  
depending on what stage was passed would connect to the correct  
environment and upload. Now though everything tries to hit my  
production environment. Do I need to make some changes here?

Lastly we are putting in a new production server, and no matter what  
I do i get the following error code:

[out :: server] bash: line 2: svn: command not found

And all the searches on google and on this list turn up very little  
about how to trouble shoot this. Again before the cap upgrade  
everything was just fine. Any suggestions?

Thanks

Andrew

---

<div class="post-metadata">

**Author:** ![dukael](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c77e96/32.png) [@dukael](https://www.ruby-forum.com/u/dukael)\
**Post date:** [April 12, 2006, 6:13pm UTC](https://www.ruby-forum.com/t/capistrano-issues/57622/2 "2006-04-12T18:13:33Z")

</div>

Andrew F. wrote:

> Lastly we are putting in a new production server, and no matter what I  
> do i get the following error code:
> 
> [out :: server] bash: line 2: svn: command not found

Either svn is not installed on the new server, or svn is not in the path  
of the remote user.

–

Ray

---

<div class="post-metadata">

**Author:** ![dukael](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c77e96/32.png) [@dukael](https://www.ruby-forum.com/u/dukael)\
**Post date:** [April 12, 2006, 6:28pm UTC](https://www.ruby-forum.com/t/capistrano-issues/57622/3 "2006-04-12T18:28:53Z")

</div>

Yeah found that one out, was not in the path which was all my bad.  
How about my first question? anyone have any thoughts?

Andrew

---

<div class="post-metadata">

**Author:** ![dukael](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c77e96/32.png) [@dukael](https://www.ruby-forum.com/u/dukael)\
**Post date:** [April 12, 2006, 10:25pm UTC](https://www.ruby-forum.com/t/capistrano-issues/57622/4 "2006-04-12T22:25:52Z")

</div>

Andrew,

Can you send me your deploy.rb? I’m curious why you’re seeing that  
behavior with the -S switch…

- Jamis
