我见过许多类似的问题,但没有实际的解决方案。在http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_Ruby_rails.html之后,我创建了一个没有问题的示例应用程序。但是,我修改了一些文件,包括 gemfile,运行 bundle install,运行git add . && git commit -m "commit gemfile change"
然后,我运行 git aws.push,收到以下信息:
> c:\Users\mmoore\Documents\rubyapps\visitdaysaws>git aws.push Counting
> objects: 8, done. Delta compression using up to 8 threads. Compressing
> objects: 100% (5/5), done. Writing objects: 100% (5/5), 653 bytes,
> done. Total 5 (delta 3), reused 0 (delta 0) remote: To
> https://[secureurl]
> 091700..00005f 39eed5f98abacccccccccsaadeeeffa044354b740 -> master
c:\Users\mmatches\Documents\rubyapps\appaws>"c:\Ruby193\AWS-ElasticBeanstalk
-CLI-2.3.1\eb\windows\eb" status --verbose
Retrieving status of environment "appaws-env".
URL : appaws-env-dxf4aghrer.elasticbeanstalk.com
Status : Ready
Health : Green
Environment Name: appaws-env
Environment ID: e-123abz4rpw
Solution Stack: 64bit Amazon Linux running Ruby 1.9.3
Version Label: git-39eed5f98abacccccccccsaadeeeffa044354b740-1363313513
78
Date Created: 2013-03-15 13:48:56
Date Updated: 2013-03-15 16:34:00
Description: None
RDS Database: AWSEBRDSDatabase | aa1adfga3tfa2a.cadfef60egmm.us-east-1.rds.amaz
onaws.com:3306
Database Engine: mysql 5.5.27
Allocated Storage: 5
Instance Class: db.t1.micro
Multi AZ: False
Master Username: ebroot
Creation Time: 2013-03-15 13:54:20
DB Instance Status: available
尽管如此,我仍然收到一般的欢迎消息:
我检查了我的 git repo 的大小,它比默认应用程序大,但只有 6.5 MiB。我也尝试过粘贴核心文件,没有变化。我对任何想法都持开放态度。
更新
运行建议的删除文件,仍然收到一般页面,但是当导航到 index.html(理论上不存在)时,您可以看到应用程序加载或尝试通过错误加载。