gem list --pre : 404 error?

J

Jonathan Rochkind

rubygems 1.7.2, ruby 1.8.7.

I thought this was the way to see what "pre" versions of a gem are
available:

gem list --pre --remote someGem

When I try that though, I get this error message:

*** REMOTE GEMS ***

ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
bad response Not Found 404
(http://gems.rubyonrails.org/prerelease_specs.4.8.gz)



Anyone know what's up?
 
L

Luis Lavena

rubygems 1.7.2, ruby 1.8.7.

I thought this was the way to see what "pre" versions of a gem are
available:

  gem list --pre --remote someGem

When I try that though, I get this error message:

*** REMOTE GEMS ***

ERROR:  While executing gem ... (Gem::RemoteFetcher::FetchError)
    bad response Not Found 404
(http://gems.rubyonrails.org/prerelease_specs.4.8.gz)

Anyone know what's up?

One of the sources you've configured do not work with latest rubygems:
gems.rubyonrails.org.

I was able to replicate this:

C:\Users\Luis>gem sources --add http://gems.rubyonrails.org
http://gems.rubyonrails.org added to sources

C:\Users\Luis>gem list --pre --remote rails

*** REMOTE GEMS ***

ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
bad response Not Found 404 (http://gems.rubyonrails.org/
prerelease_specs.4.8.gz)

Please remove the source and try again:

C:\Users\Luis>gem sources --remove http://gems.rubyonrails.org
http://gems.rubyonrails.org removed from sources

Also, verify that in your sources rubygems.org is mentioned:

C:\Users\Luis>gem sources --list
*** CURRENT SOURCES ***

http://rubygems.org

HTH,
 

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,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top