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” ?
On May 27, 6:00am, [email protected] (Une B.) wrote:
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
Luis L. [email protected] wrote:
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
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
my actual gem version is 1.2.0
then do you recommand installing 1.3.6 ?
On Sat, May 28, 2011 at 12:15:29AM +0900, Une B. wrote:
but i still need a means to delete http://gems.rubyforge.org/
Use -r instead of -a.
Try this to find out more:
gem help sources