# HTTP response 302

**URL:** <https://www.ruby-forum.com/t/http-response-302/204354>\
**Category:** Ruby\
**Created:** [March 10, 2011, 1:50pm UTC](https://www.ruby-forum.com/t/http-response-302/204354 "2011-03-10T13:50:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [March 10, 2011, 1:50pm UTC](https://www.ruby-forum.com/t/http-response-302/204354/1 "2011-03-10T13:50:58Z")

</div>

Hello Friends,

I have installed Ruby 1.8.6-26 and then tried to update its gems.

When I type following command and hit enter I got an error

c:\gem update --system

Updating RubyGems  
Error:while executing gem… Gem::RemoteSourceException  
Http response 302

I am stuck with this and unable to proceed further to install WATIR.

Please help me ASAp.Please see error file attached herewith.

---

<div class="post-metadata">

**Author:** ![amruta911](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ba9def/32.png) [@amruta911](https://www.ruby-forum.com/u/amruta911)\
**Post date:** [March 10, 2011, 2:10pm UTC](https://www.ruby-forum.com/t/http-response-302/204354/2 "2011-03-10T14:10:29Z")

</div>

The response might be an HTTP error.

You can see the description of 302 here :  
[http://www.checkupdown.com/status/E302.html](http://www.checkupdown.com/status/E302.html)

And a list of all the others here :  
[http://www.modemhelp.net/httperrors/httperrors.shtml](http://www.modemhelp.net/httperrors/httperrors.shtml)

---

<div class="post-metadata">

**Author:** ![amruta911](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ba9def/32.png) [@amruta911](https://www.ruby-forum.com/u/amruta911)\
**Post date:** [March 10, 2011, 2:50pm UTC](https://www.ruby-forum.com/t/http-response-302/204354/3 "2011-03-10T14:50:58Z")

</div>

On Mar 10, 9:51am, Amruta M. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hello Friends,
> 
> I have installed Ruby 1.8.6-26 and then tried to update its gems.

Please install a newer version of Ruby, like using RubyInstaller:

> **[Downloads](https://rubyinstaller.org/downloads/)**
>
> The easy way to install Ruby on Windows This is a self-contained Windows-based installer that includes the Ruby language, an execution environment, important...

It includes updated RubyGems that works with newer [RubyGems.org](http://RubyGems.org) gem  
hosting.

> When I type following command and hit enter I got an error
> 
> c:\gem update --system
> 
> Updating RubyGems  
> Error:while executing gem… Gem::RemoteSourceException  
> Http response 302
> 
> I am stuck with this and unable to proceed further to install WATIR.

You’re stuck there because that old version of Ruby tries to download  
gems from RubyForge, which no longer provides gem hosting.

---

<div class="post-metadata">

**Author:** ![amruta911](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ba9def/32.png) [@amruta911](https://www.ruby-forum.com/u/amruta911)\
**Post date:** [March 28, 2011, 9:01pm UTC](https://www.ruby-forum.com/t/http-response-302/204354/4 "2011-03-28T21:01:34Z")

</div>

Luis  
I had installed v1.9.2-p180 as instructed at the bottom of the page at  
[http://wiki.openqa.org/display/WTR/Install+Ruby](http://wiki.openqa.org/display/WTR/Install+Ruby)

Also tries Ruby 1.8.7-p334 but get the same error  
ERROR: White execting gem … (Gem::RemoteSourceException)  
HTTP Response 302

> On Thursday, March 10, 2011 7:51 AM Amruta M. wrote:

> Error:while executing gem… Gem::RemoteSourceException
> 
> –  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).

> > On Thursday, March 10, 2011 8:10 AM Justin Thimblehead wrote:

> > The response might be an HTTP error.
> > 
> > You can see the description of 302 here :  
> > [http://www.checkupdown.com/status/E302.html](http://www.checkupdown.com/status/E302.html)
> > 
> > And a list of all the others here :  
> > [HTTP Errors](http://www.modemhelp.net/httperrors/httperrors.shtml)
> > 
> > –  
> > Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).

> > > On Thursday, March 10, 2011 8:49 AM Luis L. wrote:

> > > –  
> > > Luis L.

---

<div class="post-metadata">

**Author:** ![amruta911](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ba9def/32.png) [@amruta911](https://www.ruby-forum.com/u/amruta911)\
**Post date:** [March 11, 2011, 9:34am UTC](https://www.ruby-forum.com/t/http-response-302/204354/5 "2011-03-11T09:34:46Z")

</div>

Thanks Luis

I hv installed v1.8.7-p334 and its working fine. 🙂

Regards,  
Amruta.

---

<div class="post-metadata">

**Author:** ![amruta911](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ba9def/32.png) [@amruta911](https://www.ruby-forum.com/u/amruta911)\
**Post date:** [March 28, 2011, 9:36pm UTC](https://www.ruby-forum.com/t/http-response-302/204354/6 "2011-03-28T21:36:14Z")

</div>

The post at  
[http://help.rubygems.org/discussions/problems/111-problem-with-ruby-gems](http://help.rubygems.org/discussions/problems/111-problem-with-ruby-gems)  
on Aug 28th seemed to help.
