Hi,

This only works if deploy is invoked on the same server where the 
repository is. But I have the following situation: I want to deploy from a 
repository on server A to server B on a local computer C. And the git 
executable on server A is not in the path when using SSH. So the fetch, 
ls-remote and clone commands fail. Normally in these cases you'd use the 
--upload-pack option. I have created a Capistrano patch that enables this:

https://github.com/capistrano/capistrano/pull/225

Kind regards,

Gabriel

Am Mittwoch, 13. Juni 2012 18:16:31 UTC+2 schrieb Lee Hambley:
>
> try set(:git, '/my/unusual/path/to/git')
>
> - Lee
>
> On 13 June 2012 17:20, chiborg <[email protected]> wrote:
>
>> I have a repository server where the git command is in a non-standard 
>> location. When trying to deploy, the git-upload-pack command fails. How can 
>> I tell capistrano the new git location?
>>
>> Relevant lines from my deploy.rb
>>
>> set :scm, :git
>> set :deploy_via, :copy
>> set(:repository) { "[email protected]:/srv/ww/htdocs/manager" }
>>
>> -- 
>> * You received this message because you are subscribed to the Google 
>> Groups "Capistrano" group.
>> * To post to this group, send email to [email protected]
>> * To unsubscribe from this group, send email to 
>> [email protected] For more options, visit this 
>> group at http://groups.google.com/group/capistrano?hl=en
>
>
>

-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en

Reply via email to