# Gems 1.3.1 and sources

**URL:** <https://www.ruby-forum.com/t/gems-1-3-1-and-sources/160382>\
**Category:** Ruby\
**Created:** [February 15, 2009, 6:09pm UTC](https://www.ruby-forum.com/t/gems-1-3-1-and-sources/160382 "2009-02-15T18:09:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![fengbald](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/85e7bf/32.png) [@fengbald](https://www.ruby-forum.com/u/fengbald)\
**Post date:** [February 15, 2009, 6:09pm UTC](https://www.ruby-forum.com/t/gems-1-3-1-and-sources/160382/1 "2009-02-15T18:09:20Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![fengbald](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/85e7bf/32.png) [@fengbald](https://www.ruby-forum.com/u/fengbald)\
**Post date:** [February 25, 2009, 8:42pm UTC](https://www.ruby-forum.com/t/gems-1-3-1-and-sources/160382/2 "2009-02-25T20:42:47Z")

</div>

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](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.

---

<div class="post-metadata">

**Author:** ![fengbald](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/85e7bf/32.png) [@fengbald](https://www.ruby-forum.com/u/fengbald)\
**Post date:** [February 26, 2009, 1:10am UTC](https://www.ruby-forum.com/t/gems-1-3-1-and-sources/160382/3 "2009-02-26T01:10:59Z")

</div>

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: removed\_email\_address@domain.invalid  
jabber: removed\_email\_address@domain.invalid  
gpg: 533148E2

---

<div class="post-metadata">

**Author:** ![fengbald](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/85e7bf/32.png) [@fengbald](https://www.ruby-forum.com/u/fengbald)\
**Post date:** [February 26, 2009, 2:07am UTC](https://www.ruby-forum.com/t/gems-1-3-1-and-sources/160382/4 "2009-02-26T02:07:46Z")

</div>

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](http://gems.rubyforge.org/latest_specs.4.8.gz)  
[worked for me]

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

$ curl -I [RubyGems.org | your community gem host](http://gems.rubyforge.org/latest_specs.4.8.gz)  
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
