Gem malfunction

Sometimes, when I use ‘gem’ to install a package, say ‘sudo gem install
dbi’, gem uses up all my memory and CPU, and, if I can’t manage to
arrive at a terminal and do ‘sudo killall -9 ruby’, I’m left with no
choice but reboot my Ubuntu box.

I’m using Ruby 1.8, gem 0.9.0.

I tried with the ‘–debug’ switch, but it writes nothing while it’s
“stuck”.

I should mention that it prints:

“Bulk updating Gem source index for: http://gems.rubyforge.org

On Apr 22, 2008, at 06:07 AM, Albert S. wrote:

Sometimes, when I use ‘gem’ to install a package, say ‘sudo gem
install
dbi’, gem uses up all my memory and CPU, and, if I can’t manage to
arrive at a terminal and do ‘sudo killall -9 ruby’, I’m left with no
choice but reboot my Ubuntu box.

I’m using Ruby 1.8, gem 0.9.0.

Upgrade your RubyGems. 0.9.0 has a security vulnerability that allows
a malicious gem to overwrite any file on your filesystem.

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