I thought I’d finally take a look at Mongrel and see whether it was worth changing my configuration from Lighttpd/FCGI. So far it’s been pretty stable (with only the odd restart needed every few month or so), but Mongrel’s had such a good response I couldn’t resist.
However, it looks like Ruby Gems is failing to work on my VPS. Below is what I run and the output:
sudo gem install daemons
Password:
Bulk updating Gem source index for: http://gems.rubyforge.org
Killed
I was originally on an old version of Gems, so I downloaded the latest release (0.9.0), but same result.
If I run the same above on my PowerBook G4
pablo:~/work/mephisto/trunk pingles$ sudo gem install daemons
Password:
Attempting local installation of 'daemons'
Local gem file not found: daemons*.gem
Attempting remote installation of 'daemons'
Updating Gem source index for: http://gems.rubyforge.org
Successfully installed daemons-0.4.4
Installing RDoc documentation for daemons-0.4.4...
D’oh. Not too sure what’s causing it, and a quick poke around Google and Google Groups didn’t yield any information about log files etc. Does anyone have any suggestions?










I’m having the same problem and my VPS is with RIMU as well. Whats weird is that I don’t have these problems on the other server I host with them.
I’m having this problem and i’m wondering if you found a solution.
Hi,
I think the problem was caused by running out of memory, I killed a few unnecessary things and that seemed to solve the problem.
Hope that helps
I had the same configuring a VPS with RimuHosting, but a simple “gem update” fixed it for me.
I’ve seen this problem on several smaller VPS accounts. Bulk update just wants too much memory. If you upgrade far enough gems wise (I have 0.9.4.3) you can do -B 1000000 during a command (which says update the gems one at a time unless there is more than one million that need updating). This does not flood your memory and get your process killed or hung by the system. Be prepared, this could take a while. Example: sudo gem install -B 1000000 daemons
I had the same problem on my rimuhosting VPS. I just stopped my mongrel clusters to free up some memory then ran gem install again….
I ran into a very similar problem on rimuhosting’s rails stack. I free up most of my memory, but still had the same result. Then i ran “gem update –system” it worked after i updated my rubygems. Hope this helps people out.
I am getting a memory problem with gem update - using slicehost 256Mb
Same as Ian. It’s very common. sudo gem install -B 999999 rails seems to do the trick… at least, it’s very good at producing dots that fill the terminal. i’m still waiting.
Cool, seems to have done the trick for me too (I’m on slicehost 256Mb too). Seems there are a lot of gems that need updating:
Updating metadata for 9550 gems from http://gems.rubyforge.org/ :)
Thanks a lot to all of you. I am using slicehost 256M too, and I’ve been banging my head all night on that…… i got 12500 dots, and now it works :)
Hey! Excellent site! Very good work webmaster! Best regards! ;)