[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Gems 1.3.1 and sources

Feng Shui

2/15/2009 5:08:00 PM

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

Attachments:
http://www.ruby-...attachment/3300/Ru...

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

3 Answers

Eric Hodel

2/25/2009 7:41:00 PM

0

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

> 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
>
> Attachments:
> http://www.ruby-forum.com/attachment/3300/Ru...

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

Florian Gilcher

2/26/2009 12:10:00 AM

0


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

> On Feb 15, 2009, at 09:07, Feng Shui wrote:
>
>> 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
>>
>> Attachments:
>> http://www.ruby-forum.com/attachment/3300/Ru...
>
> 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 Gilcher

smtp: flo@andersground.net
jabber: Skade@jabber.ccc.de
gpg: 533148E2


Eric Hodel

2/26/2009 1:06:00 AM

0

On Feb 25, 2009, at 16:09, Florian Gilcher wrote:
> On Feb 25, 2009, at 8:41 PM, Eric Hodel wrote:
>> On Feb 15, 2009, at 09:07, Feng Shui wrote:
>>> 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
>>>
>>> Attachments:
>>> http://www.ruby-forum.com/attachment/3300/Ru...
>>
>> 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: http://gems.rubyforge.org/latest_sp...
[worked for me]

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

$ curl -I http://gems.rubyforge.org/latest_sp...
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