(Gem::RemoteSourceException)

Hello,

I am troubled by this error again…

#aptitude install ruby1.9, ruby1.9-dev, rdoc1.9, irb1.9 and ri1.9

gem1.9 search -r mysql

*** REMOTE GEMS ***

ERROR: While executing gem … (Gem::RemoteSourceException)
HTTP Response 302 fetching RubyGems.org | your community gem host

aptitude install rubygems

gem update

Updating installed gems…
ERROR: While executing gem … (Gem::RemoteSourceException)
HTTP Response 302

I try to install the last version of rubygems I unpacked from a tgz
file.

ruby1.9 setup.rb

It hang for 3min using 80% CPU so I closed it.

aptitude install ruby

ruby setup.rb

=> syntax error

It would help me a lot if you have an answer to this. The gem1.9 command
comes with ruby1.9. I also tried to install Ruby Version Manager. It
said it was installed successfully but:
-bash: rvm: command not found

And no I didn’t install Recoverable Virtual Memory tools :slight_smile:

Dominic R. wrote in post #1021156:

Hello,

I am troubled by this error again…

#aptitude install ruby1.9, ruby1.9-dev, rdoc1.9, irb1.9 and ri1.9

gem1.9 search -r mysql

*** REMOTE GEMS ***

ERROR: While executing gem … (Gem::RemoteSourceException)
HTTP Response 302 fetching RubyGems.org | your community gem host

aptitude install rubygems

gem update

Updating installed gems…
ERROR: While executing gem … (Gem::RemoteSourceException)
HTTP Response 302

Change your sources:

gem sources --remove http://gems.rubyforge.org
gem sources --add http://rubygems.org

Your version of RubyGems can’t handle 302 redirects.


Luis L.

Thanks but I wich it was that simple :wink:

gem sources --remove http://gems.rubyforge.org

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

Same thing for adding a source

Maybe I need another package but I didn’t find any info on what could
it’s name be…