[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

gem malfunction

Albert Schlef

4/22/2008 1:08:00 PM

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".
--
Posted via http://www.ruby-....

2 Answers

Albert Schlef

4/22/2008 1:10:00 PM

0

I should mention that it prints:

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

--
Posted via http://www.ruby-....

Eric Hodel

4/22/2008 8:33:00 PM

0

On Apr 22, 2008, at 06:07 AM, Albert Schlef 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.