捆绑安装被杀消息?

use*_*593 3 ruby-on-rails

我在服务器机器上运行bundle install - 数字海洋,它总是像这样被杀死:

RVM used your Gemfile for selecting Ruby, it is all fine - Heroku does that too,
you can ignore these warnings with 'rvm rvmrc warning ignore /home/rails/car_main/Gemfile'.
To ignore the warning for all files run 'rvm rvmrc warning ignore allGemfiles'.

Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as
root will break this application for all non-root users on this machine.
Fetching gem metadata from https://rubygems.org/.........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies...
Using rake 10.5.0
Using i18n 0.7.0
Using json 1.8.3
Using minitest 5.8.4
Using thread_safe 0.3.5
Using tzinfo 1.2.2
Using activesupport 4.2.0
Using builder 3.2.2
Using erubis 2.7.0
Using mini_portile2 2.0.0
Killed
Run Code Online (Sandbox Code Playgroud)

我该怎么办?

Ali*_*ris 10

我在使用DigitalOcean时遇到了类似的问题,并通过将RAM从512MB增加到1GB来解决.

或者你也可以创建一个交换文件,但我选择增加RAM.