On 2/15/09 11:05 PM, sergio_101 wrote:
> i am running a git repository that we hit via ssh.
> 
> the problem is that the name of the directory has spaces in it...
> something like:
> 
> /mnt/share/work server here/foo/bar
> 
> i can't get deploy.rb to see the correct repository when doing:
> 
> set_repository, although i have tried it with replacing the spaces
> with "\ " like:
> 
> /mnt/share/work\ server\ here/foo/bar

"\ " is interpreted by ruby as a space without a slash. If you want a
literal backslash in the string, you need two slashes:

  set :repository, "/mnt/share/work\\ server\\ here/foo/bar"


> BTW.. this server works on a weird port.. the only way i could get it
> to read the port was to override .ssh/config ..
> 
> has this been addressed?

Try

  role :foo, "server.address:1234"

or

  set :port, 1234

or even

  ssh_options[:port] = 1234

Note that those only work for servers that Capistrano is connecting to;
it won't work for (e.g.) repository servers that git is connecting to.

- Jamis

> 
> thanks!
> 
> > 


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to