【发布时间】:2016-10-19 20:48:35
【问题描述】:
在使用 Capistrano 时,如何禁止我的密码明文显示?我在 Mac El Capitan 上使用 Rails 4.2.7。消息说要安装 Highline gem,我这样做了,但这并没有阻止密码出现……
localhost:myproject davea$ sudo gem install highline
Successfully installed highline-1.7.8
Parsing documentation for highline-1.7.8
Done installing documentation for highline after 0 seconds
1 gem installed
localhost:myproject davea$ cap production deploy:initial
Text will be echoed in the clear. Please install the HighLine or Termios libraries to suppress echoed text.
myser@12.12.12.12’s password:asdf
有什么想法吗?
【问题讨论】:
标签: ruby-on-rails ruby-on-rails-4 rubygems capistrano