ERROR: While executing gem … (Gem::RemoteSourceException)HTTP Response 302 in ruby update


Symptom:

Unable to use gem update through ISA proxy and getting an  error message ” ERROR:  While executing gem … (Gem::RemoteSourceException)HTTP Response 302″.

Note: The prerequiste of proxy configuration is cntlm tool must be installed for ISA proxy server.

Solution:

I ended up going through following steps

1. Download zip from http://rubygems.org/pages/download
2. Unzip into a temporary directory that I made under InstantRails 2.0 installation
3. From running Instant Rails application opened Ruby Console windows and cd to the unzip directory
4. Manually installed with: $ruby setup.rb
5. Added new remote source with: $gem sources—add http://rubygems.org/

 

 

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: