# Gems.rubyforge.org/yaml corrupt?

**URL:** <https://rubytalk.org/t/gems-rubyforge-org-yaml-corrupt/28516>\
**Category:** ruby-talk\
**Created:** [28 June 2006 00:20 UTC](https://rubytalk.org/t/gems-rubyforge-org-yaml-corrupt/28516 "2006-06-28T00:20:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jason\_Dusek](https://avatars.discourse-cdn.com/v4/letter/j/6f9a4e/32.png) [@Jason\_Dusek](https://rubytalk.org/u/Jason_Dusek)\
**Post date:** [28 June 2006 00:20 UTC](https://rubytalk.org/t/gems-rubyforge-org-yaml-corrupt/28516/1 "2006-06-28T00:20:27Z")

</div>

i sent this query to [rubygems-developers@rubyforge.org](mailto:rubygems-developers@rubyforge.org), but now that i  
think about i probably should have sent it here.

when i try to install something with gem, like this:

&nbsp;&nbsp;&nbsp;gem install postgresql

i get a 'syntax error' and a bunch of yaml:

Attempting local installation of 'postgresql'  
Local gem file not found: postgresql\*.gem  
Attempting remote installation of 'postgresql'  
Updating Gem source index for: [http://gems.rubyforge.org](http://gems.rubyforge.org)  
ERROR: While executing gem ... (ArgumentError)  
&nbsp;&nbsp;&nbsp;&nbsp;syntax error on line 142311, col 1177: ` - - "\>"  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- !ruby/object:Gem::Version  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;version: 0.0.0  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;version:  
&nbsp;&nbsp;&nbsp;&nbsp;platform: ruby  
&nbsp;&nbsp;\</...etc...\>

&nbsp;&nbsp;activesalesforce-0.0.2: !ruby/object:Gem::Specification  
&nbsp;&nbsp;\</...etc...\>

it turns out this happens whenever i try to install anything at all.  
my install of gem seems to be okay - i can run 'gem list' and the like  
without any trouble.

the error line admonishes us "syntax error on line 142311, col 1177".  
i downloaded the yaml file from [gems.rubyforge.org](http://gems.rubyforge.org) and tried to figure  
out what was wrong with it. if you go to line 142311, there's nothing  
special about it, except that it's not long enough to have a column  
1177:

&nbsp;&nbsp;rubyforge\_project: trestle

however, the line below it is very long and has an non-numeric control  
sequence, \xFC, at column 1170. could this be the cause of the  
problem? i don't know - i'm not sure how to get gems to read a local  
copy of the yaml repository listing.

> **···**
>
> --  
> \_jsn

---

<div class="post-metadata">

**Author:** ![Jason\_Dusek](https://avatars.discourse-cdn.com/v4/letter/j/6f9a4e/32.png) [@Jason\_Dusek](https://rubytalk.org/u/Jason_Dusek)\
**Post date:** [28 June 2006 00:39 UTC](https://rubytalk.org/t/gems-rubyforge-org-yaml-corrupt/28516/2 "2006-06-28T00:39:16Z")

</div>

it seems to work now - i don't really get what happenned.

> **···**
>
> On 6/27/06, Jason Dusek \<jsn.s.rubix.cube@gmail.com\> wrote:
> 
> > i sent this query to rubygems-developers@rubyforge.org, but now that i  
> > think about i probably should have sent it here.
> > 
> > when i try to install something with gem, like this:
> > 
> > &nbsp;&nbsp;&nbsp;gem install postgresql
> > 
> > i get a 'syntax error' and a bunch of yaml:
> > 
> > Attempting local installation of 'postgresql'  
> > Local gem file not found: postgresql\*.gem  
> > Attempting remote installation of 'postgresql'  
> > Updating Gem source index for: [http://gems.rubyforge.org](http://gems.rubyforge.org)  
> > ERROR: While executing gem ... (ArgumentError)  
> > &nbsp;&nbsp;&nbsp;&nbsp;syntax error on line 142311, col 1177: ` - - "\>"  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- !ruby/object:Gem::Version  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;version: 0.0.0  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;version:  
> > &nbsp;&nbsp;&nbsp;&nbsp;platform: ruby  
> > &nbsp;&nbsp;\</...etc...\>
> > 
> > &nbsp;&nbsp;activesalesforce-0.0.2: !ruby/object:Gem::Specification  
> > &nbsp;&nbsp;\</...etc...\>
> > 
> > it turns out this happens whenever i try to install anything at all.  
> > my install of gem seems to be okay - i can run 'gem list' and the like  
> > without any trouble.
> > 
> > the error line admonishes us "syntax error on line 142311, col 1177".  
> > i downloaded the yaml file from gems.rubyforge.org and tried to figure  
> > out what was wrong with it. if you go to line 142311, there's nothing  
> > special about it, except that it's not long enough to have a column  
> > 1177:
> > 
> > &nbsp;&nbsp;rubyforge\_project: trestle
> > 
> > however, the line below it is very long and has an non-numeric control  
> > sequence, \xFC, at column 1170. could this be the cause of the  
> > problem? i don't know - i'm not sure how to get gems to read a local  
> > copy of the yaml repository listing.
> > 
> > --  
> > \_jsn
> 
> --  
> \_jsn

---

<div class="post-metadata">

**Author:** ![Jason\_N.Perkins](https://avatars.discourse-cdn.com/v4/letter/j/c67d28/32.png) [@Jason\_N.Perkins](https://rubytalk.org/u/Jason_N.Perkins)\
**Post date:** [28 June 2006 00:58 UTC](https://rubytalk.org/t/gems-rubyforge-org-yaml-corrupt/28516/3 "2006-06-28T00:58:06Z")

</div>

I was getting a similar error earlier this afternoon and it seems to have cleared up within the last hour or so.

> **···**
>
> On Jun 27, 2006, at 7:39 PM, Jason Dusek wrote:
> 
> > it seems to work now - i don't really get what happenned.
> 
> --  
> Jason Perkins  
> jperkins@sneer.org
> 
> "The computer allows you to make mistakes  
> faster than any other invention, with the  
> possible exception of handguns and tequila."
> 
> -Mitch Ratcliffe

---

<div class="post-metadata">

**Author:** ![Jim\_Weirich1](https://avatars.discourse-cdn.com/v4/letter/j/73ab20/32.png) [@Jim\_Weirich1](https://rubytalk.org/u/Jim_Weirich1)\
**Post date:** [28 June 2006 01:11 UTC](https://rubytalk.org/t/gems-rubyforge-org-yaml-corrupt/28516/4 "2006-06-28T01:11:56Z")

</div>

Jason Dusek wrote:

> it seems to work now - i don't really get what happenned.

The gem index is rebuilt periodically. It could be that the build of  
the index failed for some reason but was built successfully in the next  
cycle.

Just guessing.

-- Jim Weirich

> **···**
>
> --  
> Posted via [http://www.ruby-forum.com/\](http://www.ruby-forum.com/%5C).
