Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4038940
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T12:32:17+00:00 2026-05-20T12:32:17+00:00

If I try to install any gem on my server then I get a

  • 0

If I try to install any gem on my server then I get a 302 redirect e.g.

gem install clickatell -V
GET http://rubygems.org/latest_specs.4.8.gz
302 Found
HEAD http://rubygems.org/specs.4.8.gz
connection reset after 2 requests, retrying
HEAD http://rubygems.org/specs.4.8.gz
302 Found

An article on rubygems suggests doing a gem update –system

http://help.rubygems.org/kb/rubygems/why-do-i-get-http-response-302-or-301-when-installing-a-gem

gem update --system -V
Updating RubyGems
GET 302 Found: http://gems.rubyforge.org/latest_specs.4.8.gz
connection reset after 2 requests, retrying
HEAD 302 Found: http://gems.rubyforge.org/specs.4.8.gz
connection reset after 2 requests, retrying
HEAD 302 Found: http://gems.rubyforge.org/yaml
ERROR:  http://gems.rubyforge.org/ does not appear to be a repository
ERROR:  While executing gem ... (Gem::RemoteFetcher::FetchError)
Errno::ETIMEDOUT: Connection timed out - connect(2) (http://gems.rubyforge.org/yaml)

which is of course just an update of the gem itself.

I’m running rubygems 1.3.1
The latest version is 1.6.1

Is there a way I can update Rubygems without getting caught in my 302 redirect trap.

Regards,

Kevin.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T12:32:17+00:00Added an answer on May 20, 2026 at 12:32 pm

    I managed to update rubygems with

    gem update --system -l -V --source http://production.cf.rubygems.org                            
    Updating RubyGems
    GET http://production.cf.rubygems.org/latest_specs.4.8.gz
    200 OK
    Updating rubygems-update
    Installing gem rubygems-update-1.6.1
    Using local gem /home/passenger/.rvm/gems/ruby-1.8.7-p249/cache/rubygems-update-1.6.1.gem
    

    This didn’t solve the 302 errors that I get on any other gem though.

    To install the gems directly you can follow these steps:

    1. go to http://rubygems.org/, search for 'your-gem', and copy the link
    2. wget http://rubygems.org/downloads/your-gem.gem
    3. gem install ./your-gem.gem --local
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm try to install google-geocode for rails sudo gem install google-geocode but I get
When I try to install/update any plugin from Help -> Install New Software I
When I try to install a new instance of SQL Server 2008 Express on
I'm try to install the SQLite gem on a Fedora 9 Linux box with
Whenever I try to install a Click Once application, I always get a 404
I went to http://www.asp.net/mvc/ to try to install ASP.NET MVC. I didn't know, but
I try to get haml working without the gem with sinatra (Heroku doesn't allow
I try to install json extension for php. Using pecl I get the following
When I run 'rails server' I get the following error: Could not find gem
I try to install the mysql2 gem on Windows 7 32-bit. I run: gem

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.