From: kwatch Date: 2005-12-18T07:03:39+09:00 Subject: Re: how to update gems package version listed by rubygems? Thanks Ross, I adopt your workaround and confirmed that my *.gem package is listed by 'gem list --remote'. Ross Bamford wrote: > I just had a look through your Gem, and it looks to me like you've been > hit with an incompatibility between YAML and Ruby 1.8.3. It was discussed > a bit here recently but I can't find the thread :( > > If that does sound like you (on Ruby 1.8.3) then you could try the > following workaround (I have it in my Rakefile): > > # Quick fix for Ruby 1.8.3 / YAML bug > if (RUBY_VERSION == '1.8.3') > def spec.to_yaml > out = super > out = '--- ' + out unless out =~ /^---/ > out > end > end -- regards, kwatch