# Stuck While "Bulk updating Gem source index for: http://gems

**URL:** <https://www.ruby-forum.com/t/stuck-while-bulk-updating-gem-source-index-for-http-gems/107762>\
**Category:** Ruby\
**Created:** [June 26, 2007, 12:50am UTC](https://www.ruby-forum.com/t/stuck-while-bulk-updating-gem-source-index-for-http-gems/107762 "2007-06-26T00:50:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Isarian](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/94ad74/32.png) [@Isarian](https://www.ruby-forum.com/u/Isarian)\
**Post date:** [June 26, 2007, 12:50am UTC](https://www.ruby-forum.com/t/stuck-while-bulk-updating-gem-source-index-for-http-gems/107762/1 "2007-06-26T00:50:57Z")

</div>

Hi all,

I have a small server which I want to get Ruby on Rails working on.  
I’ve installed Ruby and RubyGems, but when I try to install any  
package through RubyGems, the server load climbs out of control, and  
the install process (sudo ruby install rails) which has been running  
for more than three hours now appears to have gotten nowhere. Is the  
server just not able to handle Ruby properly? Is there a way to  
manually update the source index?

Thanks!

-Isarian

---

<div class="post-metadata">

**Author:** ![Isarian](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/94ad74/32.png) [@Isarian](https://www.ruby-forum.com/u/Isarian)\
**Post date:** [June 27, 2007, 8:34pm UTC](https://www.ruby-forum.com/t/stuck-while-bulk-updating-gem-source-index-for-http-gems/107762/2 "2007-06-27T20:34:42Z")

</div>

On Jun 25, 2007, at 15:50, Isarian wrote:

> I have a small server which I want to get Ruby on Rails working on.  
> I’ve installed Ruby and RubyGems, but when I try to install any  
> package through RubyGems, the server load climbs out of control, and  
> the install process (sudo ruby install rails) which has been running  
> for more than three hours now appears to have gotten nowhere. Is the  
> server just not able to handle Ruby properly? Is there a way to  
> manually update the source index?

If you’ve got limited memory, you should use capistrano and vendor/  
and deploy your entire environment rather than trying to install  
everything by hand. Small memory slices aren’t meant for traditional  
development.

---

<div class="post-metadata">

**Author:** ![Isarian](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/94ad74/32.png) [@Isarian](https://www.ruby-forum.com/u/Isarian)\
**Post date:** [June 29, 2007, 4:54pm UTC](https://www.ruby-forum.com/t/stuck-while-bulk-updating-gem-source-index-for-http-gems/107762/3 "2007-06-29T16:54:41Z")

</div>

On 6/28/07, Eric H. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> and deploy your entire environment rather than trying to install
> 
> I have a small server which I want to get Ruby on Rails working on.

> Thanks!
> 
> -Isarian

Stuck While “Bulk updating Gem source index for:  
[http://gems.rubyforge.org](http://gems.rubyforge.org)”

While doing “sudo gem install any\_gem”  
I am experiencing the same problem on my recently installed  
Ubuntu-Fiesty:

Linux prasad-desktop 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC  
2007 i686 GNU/Linux

Because of the hint about memory I found that my swap is not enabled.  
Googling revealed a bug and some fixes.

$ free  
total used free shared buffers  
cached  
Mem: 223636 215352 8284 0 1276  
83788  
-/+ buffers/cache: 130288 93348

What worked for me to solve this problem is editing the /etc/fstab and  
replacing the swap partition line  
UUID=b4e51f53-5be6-4536-8668-02923d8b3c59: none swap sw  
0 0

with:  
/dev/hdc5 none swap sw 0 0

and rebooting

Thanks to both of you

Prasad
