"gem update" eats 100% cpu and memory

A

Axel Bock

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? :)


cheers & thanks,
Axel.
 
M

Michael T. Richter

[Note: parts of this message were removed to make it a legal post.]

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? :)


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.
 
A

Axel Bock

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 ... :)


Thanks!!
Axel.
 
D

David Masover

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 ... :)

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top