Why bundle install fails as killed

February 16, 2014 5.2k views
I am trying to bundle install my droplet: Ruby on Rails on Ubuntu 12.10 (Nginx + Unicorn) Yet it always exits with killed. I've tried adding swap as mentioned here: Has anyone else seen this and perhaps solved it?
5 Answers
Nevermind, I think this was a specific issue with Nokogiri. Problem solved.
I'm having the same issue and also looked into the suggestions for adding swap - I do not use the nokogiri gem, do you know what the issue was?

having the same issue, had to restart bundle install a few times to deal with that.

i have the same problem always show me Killed in bunlde install i try with 2 diferent proyect

I just encountered the same problem. The root cause for the error is there is not enough free memory. If you do not want to add extra swap, take a look at the running processes and quit what you need to free up memory.

Have another answer? Share your knowledge.