![](/img/trans.png)
[英](Net::SSH::AuthenticationFailed: root) when deploying Rails app with Rubber to EC2
[英]Rubber and Amazon EC2 hosting issue (Net::SSH::AuthenticationFailed: root)
我想在Amazon EC2服務器上托管我的ruby on rails應用程序。 我在Ubuntu上關注Rubber和Amazon EC2的鐵路廣播。 當我執行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 group和github有關此問題的問題,但沒有任何對我有用 。
不知道為什么我收到這個錯誤? 我無法弄清楚問題。 請幫忙。
更新:
我在亞馬遜上成功托管了我的rails應用程序 現在我想知道如何在亞馬遜上運行seeds.rb。 有沒有辦法在亞馬遜上打開控制台?
在這里我提到了我的問題 - 如何在Amazon ec2上運行seed.rb文件 [已解決]
是的! Amazon Ruby on Rails托管完成。 現在它的工作正常。 橡膠不適合我。
我按照本教程使用Elastic Beanstalk(eb)進行托管
http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_Ruby_rails.html
它非常容易集成和快速部署:)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.