I posted this over at the GitHub group, but this might be the better
place....

Hey everyone,

I've been using SVN till now, but I switched my app to git, and I'm
using GItHub now.

I've made the changes to my deploy.rb file, I've removed all traces of
SVN and I'm getting an interesting error... and I'm sur eit has
something to do with the fact I don't totally understand capistrano,
and how it works with Git... so I have some quick questions...

Does the server I'm deploying too have to have git installed?
Which machines needs SSH keys to which machines?  I've posted my
public key generated from my laptop to github, do I need to do
something between github and the deploy server?

What's the exact process of the deploy?  The server does a git fetch
on the repository? ( which I assume means my two questions above
should be answered with yes, and therefore explains why I'm having no
luck ).

Here's the error I'm currently getting on  a "cap deploy"

  updating the cached checkout on all servers
  * executing "if [ -d /home/user/rails/project/shared/cached-copy ];
then cd /home/user/rails/project/shared/cached-copy && git fetch -q
origin && git reset -q --hard **some random numbers and letters**;
else git clone -q [EMAIL PROTECTED]:user/the-project.git /home/user/
rails/
project/shared/cached-copy && cd /home/user/rails/project/shared/
cached-copy && git checkout -q -b deploy **some random numbers and
letters**; fi"
    servers: ["server.net"]
    [server.net:2222] executing command
 ** [server.net :: err] sh:
 ** [server.net :: err] git: not found
    command finished
*** [deploy:update_code] rolling back

Thanks for any info you might have!

--~--~---------~--~----~------------~-------~--~----~
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