Posted By

therobot on 10/28/08


deployment capistrano

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


Ask for a password in a Capistrano deployment

 / Published in: Ruby

  1. set(:scm_username) { Capistrano::CLI.ui.ask("Type is your svn username: ") }
  2. set(:scm_password){ Capistrano::CLI.password_prompt("Type your svn password for user #{scm_username}: ") }

Report this snippet  


RSS Icon Subscribe to comments
Posted By: therobot on October 28, 2008

This sets the variables scmusername and scmpassword you can do the same with user, or other capistrano variables.

You need to login to post a comment.