Hi François, I'm not exactly sure why it works this way either, "locally" does mean locally though :)
- Lee 2009/3/18 François Montel <[email protected]> > > Thanks, that clarified it. I had read the docs, but I didn't realize > capistrano would try to run git on my local computer (why would it > want to do that), so I interpreted "executing locally" as meaning on > the remote server once the ssh connection was made. > > I set :repository to my remote respository (ssh://domain/git), and > then :remote_repository to the absolute path on the remote server > (file:///path/to/git), and it works. Thanks. > > On Mar 18, 12:35 pm, Sarah Mei <[email protected]> wrote: > > > executing locally: "git ls-remote file:///data/git/pma.git master" > > > fatal: '/data/git/pma.git': unable to chdir or not a git archive > > > > This is actually happening on the machine you're deploying from - > > which you can tell because it says "executing locally:". I believe it > > does this to check the revision number (or whatever the git equivalent > > is - git is still sadly on my list of stuff to learn). > > > > Can you specify a URL for your git repo, rather than a file reference? > > > --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
