Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #3650 > unrolled thread

gem list --pre : 404 error?

Started byJonathan Rochkind <rochkind@jhu.edu>
First post2011-04-28 13:53 -0500
Last post2011-04-28 15:01 -0700
Articles 2 — 2 participants

Back to article view | Back to comp.lang.ruby


Contents

  gem list --pre : 404 error? Jonathan Rochkind <rochkind@jhu.edu> - 2011-04-28 13:53 -0500
    Re: gem list --pre : 404 error? Luis Lavena <luislavena@gmail.com> - 2011-04-28 15:01 -0700

#3650 — gem list --pre : 404 error?

FromJonathan Rochkind <rochkind@jhu.edu>
Date2011-04-28 13:53 -0500
Subjectgem list --pre : 404 error?
Message-ID<f430e02a0bf05fed025bec7acd300ed2@ruby-forum.com>
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?

-- 
Posted via http://www.ruby-forum.com/.

[toc] | [next] | [standalone]


#3661

FromLuis Lavena <luislavena@gmail.com>
Date2011-04-28 15:01 -0700
Message-ID<c3c807c5-9816-4b10-8fc8-5a5f912a51b6@v31g2000vbs.googlegroups.com>
In reply to#3650
On Apr 28, 3:53 pm, Jonathan Rochkind <rochk...@jhu.edu> wrote:
> 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,

--
Luis Lavena

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.ruby


csiph-web