Dean,

I don't have a ton of Windows experience either, but I do happen to have a
VM running with MinGW, git (at /bin/git), and ruby, so I think I match your
environment pretty well. Even though `/usr/bin/git ls-remote' works from the
shell, it doesn't work for me if I run it from irb, in a similar manner to
capistrano:

$ irb
irb(main):001:0> `/usr/bin/git ls-remote`
Errno::ENOENT: No such file or directory - /usr/bin/git ls-remote
        from (irb):1:in ``'
        from (irb):1
irb(main):002:0> `git ls-remote`
>From ssh://...

Try setting :scm_command to "git" instead of "/usr/bin/git" in your
deploy.rb.

Chris



On Tue, Mar 15, 2011 at 4:38 PM, Lee Hambley <[email protected]> wrote:

> Hrm… I'm outta ideas Dean, sorry man - try #capistrano on freenode… they
> might be able to help you in realtime (I haven't touched a windows machine
> in a few years… not even sure i'd know what one looked like anymore)
>
> - Lee
>
> --
> * 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