我想在 Amazon EC2 服务器上托管我的 Ruby on Rails 应用程序。我正在关注橡胶和亚马逊 EC2 http://railscasts.com/episodes/347-rubber-and-amazon-ec2?view=asciicastUbuntu 上的铁路广播。当我执行时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)
我已经检查过了谷歌群组 https://groups.google.com/forum/#!topic/rubber-ec2/By2xhrm7jJQ and github问题 https://github.com/rubber/rubber/issues/269关于这个问题,但对我来说没有任何作用。
知道为什么我会收到此错误吗?我无法找出问题所在。请帮忙。
UPDATE :
我在 Amazon 上成功托管了我的 Rails 应用程序。现在我想知道如何在亚马逊上运行 seeds.rb。有什么办法可以打开亚马逊控制台吗?
在这里我提到了我的问题——如何在Amazon ec2上运行seed.rb文件 https://stackoverflow.com/questions/17231741/how-to-run-seed-rb-file-on-amazon-ec2[解决了]