每当我cap production deploy
时,我都会收到以下错误:
(Backtrace restricted to imported tasks)
cap aborted!
NameError: uninitialized constant SSHKit::Logger::ANY
Capfile:
require 'capistrano/setup'
require 'capistrano/deploy'
require "capistrano/scm/git" #If using 3.9.0
install_plugin Capistrano::SCM::Git #If using 3.9.0
myproject.rb:https://gist.github.com/LeoNero/f34d59c60eb169dc83e9612283253ee6
我正在使用SSHKit 1.7.1和Capistrano 3.4.0(我已经使用3.90和3.5.0进行了测试,我得到了相同的错误...)
我该如何解决?