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

Ruby on rails 将Rails 4.1部署到AWS无法预编译资产,ruby-on-rails,amazon-web-services,Ruby On Rails,Amazon Web Services,我知道这听起来很愚蠢,但我不知道到底出了什么问题 我已经用passenger创建了一个EB实例,在一个教程之后,最后一步是运行 $ eb deploy 这让我 INFO: Environment update is starting. INFO: Deploying new version to instance(s). ERROR: [Instance: i-71f70593] Command failed on instance. Return code:

我知道这听起来很愚蠢,但我不知道到底出了什么问题

我已经用passenger创建了一个EB实例,在一个教程之后,最后一步是运行

    $ eb deploy
这让我

    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.
/var/log/eb-activity.log文件没有什么有趣的内容(我想)

有人能帮我吗


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

在资产预编译期间,我也遇到了相同的错误(
已终止(内核转储)
)。对我来说不是断断续续的——每次我都会坚持这样做


增加EC2实例的大小为我解决了这个问题。我怀疑内存是缺乏资源的——在预编译过程中100%的CPU对我来说从来都不是问题。

我也有同样的问题。你能确定问题是什么吗?这里的问题是一样的,但间歇性的。