Forum: Ruby on Rails Capistrano, ftp user and svn user are different

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
9904f8acaf66a3c1a4b4434676be11cf?d=identicon&s=25 John Kopanas (Guest)
on 2006-03-20 19:31
(Received via mailing list)
What do you do when the ftp login username is different then the svn

Every time I try to deploy it gets stuck right here:

     [] executing command
** [out ::] Authentication realm: <>
** [out ::] Password for 'jkopanas':
** [out ::] subversion is asking for a password
** [out ::] Authentication realm: <>
** [out ::] Username:

And then it never moves.  I am assuming the problem is with username
and password.  Anyone have any insight?
992fe8c19bbbc27f2b562a9f96efc03d?d=identicon&s=25 Jamis Buck (Guest)
on 2006-03-21 15:16
(Received via mailing list)

I assume you mean ssh, not ftp? Capistrano does not work with ftp.

Regarding svn, you can set the svn user name and password explicitly,
either in your recipe file:

   set :svn_username, "rapunzel"
   set :svn_password, "l3tdoony3rh4r"

Or via the cap command-line:

   cap -s svn_username=rapunzel -s svn_password=l3tdoony3rh4r ...

If you'd rather configure things so that you get prompted for the
password the first time it is needed, rather than hard-coding it in
your recipe file, you can do:

   set(:svn_password) { Capistrano::CLI.password_prompt }

Hope that helps,

9904f8acaf66a3c1a4b4434676be11cf?d=identicon&s=25 John Kopanas (Guest)
on 2006-03-21 18:53
(Received via mailing list)
That's right.  Thanks Jamis.

On 21-Mar-06, at 9:15 AM, Jamis Buck wrote:

> Or via the cap command-line:
>> ** [out ::] Authentication realm: <
>> Rails mailing list
> _______________________________________________
> Rails mailing list

John Kopanas

=====================================================================  - the sound of software engineering - software engineering conference - source of the freshest software engineering
information on the net
This topic is locked and can not be replied to.