From: Ross Bamford Date: 2005-11-28T01:12:29+09:00 Subject: Re: [ANN] Turing 0.0.7 && cry for help On Sun, 27 Nov 2005 12:05:35 -0000, Michal wrote: > Hi, > >> You can patch rubygems/builder.rb with >> http://rubyforge.org/tracker/index.php?func=detail&aid=2885&group_id=126&atid=577 > > excellent! Thanks! > > Just released 0.0.9: > http://rubyforge.org/frs/shownotes.php?release_id=3633 > > Oh, and I added it to Rakefile so no /usr/lib/ruby/.../rubygems changes > are necessary ;) > > If anyone is interested, the trick is overriding to_yaml method: > > def spec.to_yaml > out = super > out = '--- ' + out unless out =~ /^---/ > out > end > > on Gem::Specification instance :-) God bless Ruby's open classes :-) > > Rg, > M. Amen to that :). I've been hit with this same problem I think, so thanks all from me too :) -- Ross Bamford - rosco@roscopeco.remove.co.uk