【问题标题】:cap deploy gives me Capistrano::ConnectionErrorcap deploy 给了我 Capistrano::ConnectionError
【发布时间】:2013-10-11 05:13:33
【问题描述】:
    ssh: Could not resolve hostname mitosis.example.com: Name or service not known
    fatal: The remote end hung up unexpectedly

    *** [deploy:update_code] rolling back
      * executing "rm -rf /home/httpd/h.example.com/htdocs/www/releases/20131011050831; true"
        servers: ["stagger6.colo.example.com"]
     ** [deploy:update_code] exception while rolling back: Capistrano::ConnectionError, connection failed for: stagger6.colo.example.com 
          (SocketError: getaddrinfo: Name or service not known)

    Command git ls-remote git@mitosis.example.com:example-site.git master returned status code pid 4571 exit 128

【问题讨论】:

    标签: ruby-on-rails-4 capistrano rvm-capistrano


    【解决方案1】:

    capfile 配置错误。

    git@mitosis.example.com:example-site.git 是示例信息。

    mitosis.example.com 不是有效的主机。

    【讨论】:

      猜你喜欢
      • 2014-01-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-07-01
      相关资源
      最近更新 更多