Ask with echo:false does not work in Capistrano 3.2.1

60 views
Skip to first unread message

JS

unread,
Mar 24, 2015, 11:24:55 AM3/24/15
to capis...@googlegroups.com
Hello,

can somebody help me with this questions? I posted in on stackoverflow and did not get an answer until now:


Versions:
  • Ruby ruby 1.9.3p484
  • Capistrano 3.2.1
Platform:
  • From: Mac OSX 10.7.5
  • Deploy to: Linux
Logs:
  • cap aborted!
    ArgumentError: wrong number of arguments (3 for 2)
    /var/lib/gems/1.9.1/gems/capistrano-3.2.1/lib/capistrano/dsl/env.rb:30:in `ask' config/deploy.rb:2:in `<top (required)>'
    /var/lib/gems/1.9.1/gems/capistrano-3.2.1/lib/capistrano/setup.rb:14:in `load'
    /var/lib/gems/1.9.1/gems/capistrano-3.2.1/lib/capistrano/setup.rb:14:in `block (2 levels) in <top (required)>'
    /var/lib/gems/1.9.1/gems/capistrano-3.2.1/lib/capistrano/application.rb:15:in `run'
    /var/lib/gems/1.9.1/gems/capistrano-3.2.1/bin/cap:3:in `<top (required)>'
    Tasks: TOP => staging
Files:
  • # Capistrano > 3.2.0 supports echo: false
    ask(:password, nil, echo: false)

Lee Hambley

unread,
Mar 24, 2015, 11:25:24 AM3/24/15
to Capistrano
Where did you find this documented? That seems like bad/outdated docs. 

--
You received this message because you are subscribed to the Google Groups "Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email to capistrano+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/e58233ff-437b-4f80-a35f-8d1bbbe8fac7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Message has been deleted

JS

unread,
Mar 24, 2015, 5:39:51 PM3/24/15
to capis...@googlegroups.com
It`s here:
http://capistranorb.com/documentation/faq/how-can-i-get-capistrano-to-prompt-for-a-password/

Is there another way to ask for a passwort without showing it?

Lee Hambley

unread,
Mar 25, 2015, 5:31:33 AM3/25/15
to Capistrano

--
You received this message because you are subscribed to the Google Groups "Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email to capistrano+...@googlegroups.com.

JS

unread,
Mar 26, 2015, 4:05:58 PM3/26/15
to capis...@googlegroups.com
Updated to 3.4.0 and it works.
Thank you for your help and this great piece of software.
Reply all
Reply to author
Forward
0 new messages