# Gem remote install or update fails

**URL:** <https://www.ruby-forum.com/t/gem-remote-install-or-update-fails/138491>\
**Category:** Rails\
**Created:** [May 23, 2008, 5:32pm UTC](https://www.ruby-forum.com/t/gem-remote-install-or-update-fails/138491 "2008-05-23T17:32:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hansdons](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/fbc32d/32.png) [@hansdons](https://www.ruby-forum.com/u/hansdons)\
**Post date:** [May 23, 2008, 5:32pm UTC](https://www.ruby-forum.com/t/gem-remote-install-or-update-fails/138491/1 "2008-05-23T17:32:34Z")

</div>

I cannot get any gem command that involves: ‘Bulk updating Gem source  
index for: [http://gems.rubyforge.org/](http://gems.rubyforge.org/)’ to work. I just want to install  
Rails. Should be simple. I am not behind a proxy. I’ve tried the ‘no-  
http-proxy’ option. I’ve searched this problem through thousands of  
posts. I’ve tries different ruby versions (182,184 and lateset 186). I  
running windows XP. Immensely frustrated.

Error I get is:  
gem install rails --v 1.2.3 --source=[http://gems.rubyforge.org/](http://gems.rubyforge.org/)  
Bulk updating Gem source index for: [http://gems.rubyforge.org/](http://gems.rubyforge.org/)  
ERROR: While executing gem … (RuntimeError)  
Non-HTTP proxy URI: 4001

OR if I do not use ‘no-http-proxy’:

C:\Documents and Settings\Hans\>gem update  
Updating installed gems…  
Bulk updating Gem source index for: [http://gems.rubyforge.org](http://gems.rubyforge.org)  
ERROR: While executing gem … (URI::InvalidURIError)  
bad URI(is not URI?): ://:

---

<div class="post-metadata">

**Author:** ![hansdons](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/fbc32d/32.png) [@hansdons](https://www.ruby-forum.com/u/hansdons)\
**Post date:** [May 26, 2008, 10:49pm UTC](https://www.ruby-forum.com/t/gem-remote-install-or-update-fails/138491/2 "2008-05-26T22:49:07Z")

</div>

Rails and rubygems have moved to github. I am also experiencing problems  
in updating my gems

That’s the error message I got when trying to update Thin:

sudo gem update thin  
Updating installed gems  
Bulk updating Gem source index for: [http://gems.rubyforge.org/](http://gems.rubyforge.org/)  
Updating metadata for 300 gems from [http://gems.github.com/](http://gems.github.com/)  
…Failed to download spec  
saucytiger-LivePipe UI-0.9.1 from [http://gems.github.com/:](http://gems.github.com/:)  
bad URI(is not URI?): quick/saucytiger-LivePipe  
UI-0.9.1.gemspec.rz  
…Failed  
to download spec fatjam-acts\_as\_revisable-0.7 from  
[http://gems.github.com/:](http://gems.github.com/:)  
Gem::RemoteFetcher::FetchError: bad response Not Found 404  
reading  
[http://gems.github.com/quick/fatjam-acts\_as\_revisable-0.7.gemspec.rz](http://gems.github.com/quick/fatjam-acts_as_revisable-0.7.gemspec.rz)  
.Failed to download spec matta-sdruby-raffle-0.0.1 from  
[http://gems.github.com/:](http://gems.github.com/:)  
Gem::RemoteFetcher::FetchError: bad response Not Found 404  
reading  
[http://gems.github.com/quick/matta-sdruby-raffle-0.0.1.gemspec.rz](http://gems.github.com/quick/matta-sdruby-raffle-0.0.1.gemspec.rz)  
More blabla…

I think I have missed something in the Rails bubble.
