Gems 1.3.1 and sources

Hi folks,

I tried to install Rails today so I got Ruby 1.8.7 and gem 1.3.1 as
sources. Ruby get installed without problems and also gems worked fine
with ruby setub.rb.
When I now tried to install Rails via gem install rails gem complained
about the missing gem sources. I hoped gem install sources will do the
trick, but now gem still insists on “0.0.1 not > 0.0.1” (see attachment)
We’ll, he’s right …
Any suggestions?

Thanks, Fengi

On Feb 15, 2009, at 09:07, Feng Shui wrote:

attachment)
We’ll, he’s right …
Any suggestions?

Thanks, Fengi

Attachments:
http://www.ruby-forum.com/attachment/3300/RubyGems.txt

If you run with --debug every exception encountered is printed even if
it’s rescued. This particular exception is rescued.

On Feb 25, 2009, at 8:41 PM, Eric H. wrote:

about the missing gem sources. I hoped gem install sources will

If you run with --debug every exception encountered is printed even
if it’s rescued. This particular exception is rescued.

This seems to be more then an isolated problem. We have at least two
reports of it at the german ruby boards.

The interesting part seems to be “marshal data to short”.

Regards,
Florian


Florian G.

smtp: [email protected]
jabber: [email protected]
gpg: 533148E2

On Feb 25, 2009, at 16:09, Florian G. wrote:

about the missing gem sources. I hoped gem install sources will

If you run with --debug every exception encountered is printed even
if it’s rescued. This particular exception is rescued.

This seems to be more then an isolated problem. We have at least two
reports of it at the german ruby boards.

The interesting part seems to be “marshal data to short”.

I suspect that you may have network issues. You can see which URLs
RubyGems is trying to fetch with --verbose:

$ gem list --verbose -r rails

*** REMOTE GEMS ***

GET 200 OK: RubyGems.org | your community gem host
[worked for me]

This may help you figure out the problem. I see:

$ curl -I RubyGems.org | your community gem host
HTTP/1.1 200 OK
Date: Thu, 26 Feb 2009 01:06:57 GMT
Server: Apache
Last-Modified: Thu, 26 Feb 2009 00:05:04 GMT
ETag: “8c20-463c71aac8c00”
Accept-Ranges: bytes
Content-Length: 35872
Content-Type: application/x-gzip