Gem::RemoteSourceException

U

Une Bévue

I'm using :
ruby 1.8.6 (2007-03-13 patchlevel 0) [powerpc-darwin7.3.1]
and try to install ubygems-update by gem and i got :
$ sudo gem install rubygems-update
ERROR: While executing gem ... (Gem::RemoteSourceException)
HTTP Response 302


also installing rubygems-1.7.2 or 1.8.4, by sudo ruby setup.rb; got
errors...

what is the correct way to get out of this prob with
"Gem::RemoteSourceException" ?
 
L

Luis Lavena

I'm using :
ruby 1.8.6 (2007-03-13 patchlevel 0) [powerpc-darwin7.3.1]
and try to install ubygems-update by gem and i got :
$ sudo gem install rubygems-update
ERROR:  While executing gem ... (Gem::RemoteSourceException)
    HTTP Response 302

Please check the sources you have defined in RubyGems:

gem sources --list

It needs to contain http://rubygems.org

If http://gems.rubyforge.org is present, please remove it with "gem
sources --delete URL" command
also installing rubygems-1.7.2 or 1.8.4, by sudo ruby setup.rb; got
errors...

You're using an old version of Ruby (1.8.6) and newer versions of
RubyGems do not support it, so either the gem installation or the
manual installation are going to fail.

The latest version that did support was 1.3.6
 
U

Une Bévue

First; thanks a lot for your clear answer !
Please check the sources you have defined in RubyGems:

gem sources --list

It needs to contain http://rubygems.org


How do I add it ?
If http://gems.rubyforge.org is present, please remove it with "gem
sources --delete URL" command

it is the sole I had :

$ gem sources --list
*** CURRENT SOURCES ***

http://gems.rubyforge.org/


But I'm unable to delete it :

$ sudo gem sources --delete http://gems.rubyforge.org/
ERROR: While executing gem ... (OptionParser::InvalidOption)
invalid option: --delete

You're using an old version of Ruby (1.8.6) and newer versions of
RubyGems do not support it, so either the gem installation or the
manual installation are going to fail.

The latest version that did support was 1.3.6


my actual gem version is 1.2.0
then do you recommand installing 1.3.6 ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,525
Members
44,997
Latest member
mileyka

Latest Threads

Top