我正在尝试定义一个项目,当我运行时bundle exec cap staging -T
收到警告
/usr/local/Cellar/rbenv/0.4.0/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/sshkit-0.0.34/lib/sshkit.rb:3: warning: already initialized constant SSHKit::StandardError
/usr/local/opt/rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/sshkit-0.0.34/lib/sshkit.rb:3: warning: previous definition of StandardError was here
然后是命令的输出,包括任务列表
cap deploy # Deploy a new release
cap deploy:check # Check required files and directories exist
...
我已尝试从捆绑器中删除与此冲突的所有其他宝石,但捆绑器本身似乎将此文件锁定在 2.6.6 版本。我什至不知道它是否是导致该问题的捆绑程序。