Ruby on rails 运行eb create时amazon beanstack策略问题

Ruby on rails 运行eb create时amazon beanstack策略问题,ruby-on-rails,amazon-ec2,Ruby On Rails,Amazon Ec2,跑步后 eb create projectname将我的rails项目部署到amazon beanstack 我不断地犯这些错误。我以前从未使用过这项服务,我想试试看。。以下是错误 2015-10-02 17:23:50 UTC-0400 WARN Environment health has transitioned from Pending to Degraded. Command failed on all instances. 2015-10-02 17:23:38 UTC

跑步后 eb create projectname将我的rails项目部署到amazon beanstack 我不断地犯这些错误。我以前从未使用过这项服务,我想试试看。。以下是错误

2015-10-02 17:23:50 UTC-0400    WARN    Environment health has transitioned from Pending to Degraded. Command failed on all instances.

2015-10-02 17:23:38 UTC-0400 ERROR Create environment operation is complete, but with errors. For more information, see troubleshooting documentation.

2015-10-02 17:22:35 UTC-0400    INFO    Command execution completed on all instances. Summary: [Successful: 0, Failed: 1].

2015-10-02 17:22:35 UTC-0400    ERROR   [Instance: i-c2e7f417] Command failed on instance. Return code: 1 Output: (TRUNCATED)...ndeck/config/environment.rb:5:in `<top (required)>' Gem::LoadError: sqlite3 is not part of the bundle. Add it to Gemfile. /var/app/ondeck/config/environment.rb:5:in `<top (required)>' Tasks: TOP => environment (See full trace by running task with --trace). Hook /opt/elasticbeanstalk/hooks/appdeploy/pre/11_asset_compilation.sh failed. For more detail, check /var/log/eb-activity.log using console or EB CLI.

我认为这与政策有关?有更简单的方法来设置策略权限吗?

这不是策略错误,而是配置问题。根据您发布的错误,此部分

截断的…ndeck/config/environment.rb:5:在`'Gem::LoadError:sqlite3不是捆绑包的一部分。将其添加到文件中

表示您的database.yml配置错误,因为它默认为SQLite,或者您没有安装sqlite3 gem