适用于Mac的Github Desktop安装打破了Capistrano

时间:2018-09-21 18:54:27

标签: ruby-on-rails git github capistrano

我更新到了最新的Mac版Github应用程序,它破坏了Capistrano。

我在1.4以前使用了不再受支持的版本。它消除了与我的本地克隆的连接,并使我重新连接它们。现在cap deploy导致以下输出:

  

rvm 1.29.2(最新),作者Michal Papis,Piotr Kuczynski,Wayne E. Seguin   [https://rvm.io/] ruby​​-2.4.1 ruby​​ 2.4.1p111(2017-03-22修订   58053)[x86_64-linux] 00:00 git:wrapper         01 mkdir -p / tmp       ✔01 elia@173.230.154.37 0.085秒         上传/tmp/git-ssh-powerone-production-eliafreedman.sh 100.0%         02 chmod 700 /tmp/git-ssh-powerone-production-eliafreedman.sh       ✔02 elia@173.230.154.37 0.103s 00:00 git:检查         01 git ls-remote git@github.com:infinitysoftworks / powerone.git头         01权限被拒绝(公钥)。         01致命:无法从远程存储库读取。         01         01请确保您具有正确的访问权限         01并且存储库存在。 (回溯仅限于导入的任务)上限已终止! SSHKit :: Runner :: ExecuteError:异常而   在主机173.230.154.37上执行:git退出状态:128 git stdout:   权限被拒绝(公钥)。致命的:无法从远程读取   存储库。

     

请确保您具有正确的访问权限和存储库   存在。 git stderr:什么都没写

     

原因:SSHKit :: Command ::失败:git退出状态:128 git stdout:   权限被拒绝(公钥)。致命的:无法从远程读取   存储库。

     

请确保您具有正确的访问权限和存储库   存在。 git stderr:什么都没写

     

任务:TOP => deploy:check => git:check(通过运行查看完整跟踪   --trace的任务)部署失败并显示错误:异常   在主机173.230.154.37上执行时:git退出状态:128 git   stdout:权限被拒绝(公钥)。致命的:无法读取   远程存储库。

     

请确保您具有正确的访问权限和存储库   存在。 git stderr:什么都没写

     

**部署失败   **有关详细信息,请参阅log / capistrano.log。这是最后20行:

     

DEBUG [d9010d66]在0.336秒内完成,退出状态为0   (成功)。

     

DEBUG [634f1407]运行〜/ .rvm / bin / rvm默​​认情况下,执行ruby --version   173.230.154.37

     

DEBUG [634f1407]命令:〜/ .rvm / bin / rvm默​​认为ruby --version

     

调试[c7099340] ruby​​ 2.4.1p111(2017-03-22修订版58053)   [x86_64-linux]

     

DEBUG [c7099340]在0.429秒内完成,退出状态为0   (成功)。

     

INFO [1b1fbaf7]在173.230.154.37上运行/ usr / bin / env mkdir -p / tmp

     

DEBUG [1b1fbaf7]命令:/ usr / bin / env mkdir -p / tmp

     

INFO [b7a5732f]在0.085秒内完成,退出状态为0   (成功)。

     

调试上载/tmp/git-ssh-powerone-production-eliafreedman.sh 0.0%

     

INFO上传/tmp/git-ssh-powerone-production-eliafreedman.sh   100.0%

     

INFO [cba53bec]运行/ usr / bin / env chmod 700   /tmp/git-ssh-powerone-production-eliafreedman.sh在173.230.154.37

     

DEBUG [cba53bec]命令:/ usr / bin / env chmod 700   /tmp/git-ssh-powerone-production-eliafreedman.sh

     

INFO [9dc39be8]在0.103秒内完成,退出状态为0   (成功)。

     

INFO [337210d1]运行/ usr / bin / env git ls-remote   git@github.com:infinitysoftworks / powerone.git HEAD在173.230.154.37

     

DEBUG [337210d1]命令:(export GIT_ASKPASS =“ / bin / echo”   GIT_SSH =“ / tmp / git-ssh-powerone-production-eliafreedman.sh”;   / usr / bin / env git ls-remote   git@github.com:infinitysoftworks / powerone.git HEAD)

     

DEBUG [2cb76b1c]权限被拒绝(公钥)。

     

DEBUG [2cb76b1c]致命:无法从远程存储库读取。

     

请确保您具有正确的访问权限

     

并且存储库存在。

每个站点的附加输出:

$ eval "$(ssh-agent -s)" 
Agent pid 4923 
$ ssh-add -l -E md5 The agent
has no identities.

请说出我是否可以提供其他信息,因为我不知道从哪里开始诊断和纠正问题。

0 个答案:

没有答案