【问题标题】:Rubber and Amazon EC2 hosting issue (Net::SSH::AuthenticationFailed: root)Rubber 和 Amazon EC2 托管问题(Net::SSH::AuthenticationFailed: root)
【发布时间】:2013-06-15 19:45:54
【问题描述】:

我想在 Amazon EC2 服务器上托管我的 ruby​​ on rails 应用程序。我在 Ubuntu 上关注 Rubber and Amazon EC2 railcast。当我执行cap rubber:create_staging 命令时,它会显示类似这样的错误--

* 2013-06-19 17:00:53 executing `rubber:setup_remote_aliases'
servers: ["production.ginfy.com", "www.ginfy.com", "foo.ginfy.com", "ginfy.ginfy.com", "temple.ginfy.com", "ibetter.ginfy.com"]
connection failed for: www.ginfy.com (Timeout::Error: execution expired), ibetter.ginfy.com (Timeout::Error: execution expired), temple.ginfy.com (Timeout::Error: execution expired), ginfy.ginfy.com (Timeout::Error: execution expired), production.ginfy.com (Net::SSH::AuthenticationFailed: root)

我已经检查了google groupgithub issue 关于这个问题,但对我没有任何帮助。

知道为什么我会收到此错误吗?我想不出问题。请帮忙。

更新:

我在 Amazon 上成功托管了我的 rails 应用程序。现在我想知道如何在亚马逊上运行种子.rb。有没有办法在亚马逊上打开控制台?

这里我提到了我的问题 - How to run seed.rb file on Amazon ec2 [已解决]

【问题讨论】:

    标签: ruby-on-rails ruby-on-rails-3 amazon-ec2 capistrano rubber


    【解决方案1】:

    是的!! Amazon Ruby on Rails 托管已完成。现在它工作正常。 Rubber 不适合我。

    我正在按照本教程使用 Elastic Beanstalk (eb) 进行托管

    http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_Ruby_rails.html

    它很容易集成,部署也很快:)

    【讨论】:

      猜你喜欢
      • 2013-03-15
      • 1970-01-01
      • 1970-01-01
      • 2013-07-29
      • 2015-06-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-08-27
      相关资源
      最近更新 更多