将Rails 4.1部署到AWS无法预编译资产

Ped*_*des 5 ruby-on-rails amazon-web-services

我知道这听起来很棒,但我无法弄清楚什么是错的.

我已经创建了一个带乘客的EB实例,按照教程,最后一步是运行

    $ eb deploy
Run Code Online (Sandbox Code Playgroud)

哪能给我

    INFO: Environment update is starting.
    INFO: Deploying new version to instance(s).
    ERROR: [Instance: i-71f70593] Command failed on instance. Return code: 137 Output: (TRUNCATED)... /var/app/ondeck/public/assets/priorizations/simplified/upper-5154a5b0c3e6cbf5463df08c05ab0bb4.png
    I, [2015-09-21T23:00:17.233813 #26607]  INFO -- : Writing /var/app/ondeck/public/assets/application-ea5935c63d274c4625db69541c62d788.js
    Killed (core dumped).
    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.
    INFO: Command execution completed on all instances. Summary: [Successful: 0, Failed: 1].
    ERROR: Unsuccessful command execution on instance id(s) '*****'. Aborting the operation.
    ERROR: Failed to deploy application.
Run Code Online (Sandbox Code Playgroud)

/var/log/eb-activity.log文件没什么有趣的(我认为)

有谁可以帮助我吗?

Obs:该项目在本地和heroku上都很好.

vem*_*emv 2

Killed (core dumped)我在资产预编译期间也遇到了同样的错误 ( )。对我来说不是间歇性的——我每次都会得到它。

增加 EC2 实例大小解决了我的问题。我怀疑内存是缺少的资源 - 预编译期间 CPU 处于 100% 对我来说从来都不是问题。