Parse error with RubyGems yaml file

I’ve had good luck with RubyGems on Win32. However, using Ruby 1.8.1
on FreeBSD 5.2.1 I’m unable to search for and install gems.

For example, gem --remote-install=rake produces this error:

/usr/local/lib/ruby/1.8/yaml.rb:39:in load': parse error on line 413, col 14: platform: ’ (ArgumentError)
from /usr/local/lib/ruby/1.8/yaml.rb:39:in load' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:61:inget_caches’

YAML.load(response.body) seems to be choking on this Line 413 in the
http://gems.rubyforge.org/yaml file:

date: 2004-03-13 11:52:16.679819 -05:00

Any ideas why YAML’s not happy and how I can correct it?

Rich and I are looking at this now. So far no luck. It looks valid.

_why?

Chad

···

On Mar 16, 2004, at 7:54 PM, Scott Harper wrote:

I’ve had good luck with RubyGems on Win32. However, using Ruby 1.8.1
on FreeBSD 5.2.1 I’m unable to search for and install gems.

For example, gem --remote-install=rake produces this error:

/usr/local/lib/ruby/1.8/yaml.rb:39:in load': parse error on line 413, col 14: platform: ’ (ArgumentError)
from /usr/local/lib/ruby/1.8/yaml.rb:39:in load' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:61:in get_caches’

YAML.load(response.body) seems to be choking on this Line 413 in the
RubyGems.org | your community gem host file:

date: 2004-03-13 11:52:16.679819 -05:00

Any ideas why YAML’s not happy and how I can correct it?