Hello All,

First of all, thanks for the product and for your help.

I'm trying to migrate our deployment scripts to capistrano but facing
some problems. Unfortunately we're still using CVS (with SSH wrapping)
and subversion is not yet planned. My deploy.rb is a usual beginner's
script with minimal tasks defined (capistrano is version 2.1.0).

After first try CVS server wouldn't accept the credentials:
===code===
   [localhost] executing command
 ** [err] Permission denied, please try again.
 ** [err] Permission denied, please try again.
 ** [err] Permission denied (publickey,password).
 ** [err] cvs
 ** [err]
 ** [err] [
 ** [err] checkout
 ** [err]  aborted]
 ** [err] :
 ** [err] end of file from server (consult above messages if any)
 ** [err]
    command finished
===code===

 so I had to google a little bit and add this option
===code===
default_run_options[:pty] = true
===code===

Second attempt wasn't successful either:
===code===
   [localhost] executing command
 ** [out] cvsserver.com: No route to host
 ** [out] cvs
 ** [out]
 ** [out] [
 ** [out] checkout
 ** [out]  aborted]
 ** [out] :
 ** [out] end of file from server (consult above messages if any)
 ** [out]
    command finished
===code===

So I added one more line to deploy.rb
===code===
default_run_options[:shell] = true
===code===

No errors so far but I can't see any folder inside /var/www/
dgf_intranet/releases . And update_code command is executed too fast
(probably checkout is not executed at all). Running the CVS command
manually works perfectly.

I'm stucked here.

Thanks,
Andrei.


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