# Capistrano: Port in SVN

**URL:** <https://www.ruby-forum.com/t/capistrano-port-in-svn/106099>\
**Category:** Rails\
**Created:** [June 6, 2007, 12:59pm UTC](https://www.ruby-forum.com/t/capistrano-port-in-svn/106099 "2007-06-06T12:59:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zach\_ISSS\_LT3media](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/f07891/32.png) [@Zach\_ISSS\_LT3media](https://www.ruby-forum.com/u/Zach_ISSS_LT3media)\
**Post date:** [June 6, 2007, 12:59pm UTC](https://www.ruby-forum.com/t/capistrano-port-in-svn/106099/1 "2007-06-06T12:59:51Z")

</div>

. . .

- executing “sudo chmod -R g+w /usr/local/svn/project\_name”  
servers: [“project\_name.com”]  
[project\_name.com] executing command  
command finished
- executing task svn\_import  
Adding branches and tags  
ssh: connect to host project\_name.com port 22: Connection refused  
svn: Connection closed unexpectedly  
Importing application.  
ssh: connect to host project\_name.com port 22: Connection refused  
svn: Connection closed unexpectedly  
Moving application to new directory  
Checking out application.  
ssh: connect to host project\_name.com port 22: Connection refused  
svn: Connection closed unexpectedly  
/opt/local/lib/ruby/gems/1.8/gems/deprec-1.7.1/lib/deprec/recipes/  
svn.rb:77:in `chdir': No such file or directory - project_name (Errno::ENOENT) from /opt/local/lib/ruby/gems/1.8/gems/deprec-1.7.1/lib/ deprec/recipes/svn.rb:77 from /opt/local/lib/ruby/gems/1.8/gems/capistrano-1.4.1/lib/ capistrano/actor.rb:159:in `instance\_eval’  
from /opt/local/lib/ruby/gems/1.8/gems/capistrano-1.4.1/lib/  
capistrano/actor.rb:159:in `svn_import' from /opt/local/lib/ruby/gems/1.8/gems/deprec-1.7.1/lib/ deprec/recipes.rb:138 from /opt/local/lib/ruby/gems/1.8/gems/capistrano-1.4.1/lib/ capistrano/actor.rb:159:in `instance\_eval’  
from /opt/local/lib/ruby/gems/1.8/gems/capistrano-1.4.1/lib/  
capistrano/actor.rb:159:in `setup_scm' from /opt/local/lib/ruby/gems/1.8/gems/capistrano-1.4.1/lib/ capistrano/cli.rb:268:in `send’  
from /opt/local/lib/ruby/gems/1.8/gems/capistrano-1.4.1/lib/  
capistrano/cli.rb:268:in `execute_recipes!' from /opt/local/lib/ruby/gems/1.8/gems/capistrano-1.4.1/lib/ capistrano/cli.rb:268:in `each’  
from /opt/local/lib/ruby/gems/1.8/gems/capistrano-1.4.1/lib/  
capistrano/cli.rb:268:in `execute_recipes!' from /opt/local/lib/ruby/gems/1.8/gems/capistrano-1.4.1/lib/ capistrano/cli.rb:239:in `execute!’  
from /opt/local/lib/ruby/gems/1.8/gems/capistrano-1.4.1/lib/  
capistrano/cli.rb:12:in `execute!' from /opt/local/lib/ruby/gems/1.8/gems/capistrano-1.4.1/bin/ cap:11 from /opt/local/bin/cap:16:in `load’  
from /opt/local/bin/cap:16

* * *

I clearly stated port 7889 in the config and it has never had  
problems up until now. Any ideas why it is?

Zach I.  
â†’ Blog – [http://www.zachinglis.com](http://www.zachinglis.com)  
â†’ Company – [http://www.lt3media.com](http://www.lt3media.com)  
â†’ Portfolio – [http://portfolio.zachinglis.com](http://portfolio.zachinglis.com)  
â†’ Web Designer â†’ Print Designer â†’ Identity Desginer â†’ Ruby on  
Rails developer â†’ et plus.  
â†’ AIM: zachinglis â†’ MSN: removed\_email\_address@domain.invalid â†’ Others  
available on request
