"gem update" eats 100% cpu and memory

Hi all,

I have no idea what to do any more. I develop a tiny web app with Ruby
on Rails, but when I try to update install rails on my root server
with “gem install rails” (or gem update), within seconds gem will
render the complete machine unusable, and it will finally crash due to
oom (out-of-memory) errors, according to the kernel log.

I have an ubuntu hardy server with ruby1.8 installed.
(rubygems_0.9.4-4_all.deb, according to dpkg)

any idea for a distressed person? :slight_smile:

cheers & thanks,
Axel.

On Thu, 2008-07-17 at 00:05 +0900, Axel Bock wrote:

I have an ubuntu hardy server with ruby1.8 installed.
(rubygems_0.9.4-4_all.deb, according to dpkg)

any idea for a distressed person? :slight_smile:

Uninstall the gem package from the repositories, download the latest gem
from RubyForge (1.2.0 is what I’ve got) and install it yourself, then
enjoy a gem that doesn’t try and download/process the entire repository
in memory all at once each and every time you hit the servers.

Uninstall the gem package from the repositories, download the latest gem
from RubyForge (1.2.0 is what I’ve got) and install it yourself, then
enjoy a gem that doesn’t try and download/process the entire repository
in memory all at once each and every time you hit the servers.

thanks a lot for that. It seems I really have to install 1.2.0 by
hand, neither ubuntu stable nor intrepid have this one available.
Damn … :slight_smile:

Thanks!!
Axel.

On Wednesday 16 July 2008 13:25:13 Axel Bock wrote:

Uninstall the gem package from the repositories, download the latest gem
from RubyForge (1.2.0 is what I’ve got) and install it yourself, then
enjoy a gem that doesn’t try and download/process the entire repository
in memory all at once each and every time you hit the servers.

thanks a lot for that. It seems I really have to install 1.2.0 by
hand, neither ubuntu stable nor intrepid have this one available.
Damn … :slight_smile:

It’s a bit worrisome that it’s not in Intrepid, though. Any Ubuntu
maintainers
on this list?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs