From: ara.t.howard@... Date: 2006-06-08T07:16:42+09:00 Subject: Re: Possible YAML bug with quoted symbols? On Thu, 8 Jun 2006 dblack@wobblini.net wrote: > Hi -- > > On Thu, 8 Jun 2006, ara.t.howard@noaa.gov wrote: > >> On Thu, 8 Jun 2006 dblack@wobblini.net wrote: >> >>> I think it's a platform-specific solution -- that is, it only works on >>> Ara's computer :-) I get the same results you get, on my Mac and on >>> a PC running Fedora. I guess RHE must have patched Ruby in some way. >> >> nope - rhe uses ruby 1.6.8! this is ruby compiled from source: >> >> harp:~ > ruby --version >> ruby 1.8.4 (2006-01-12) [i686-linux] >> >> harp:~ > ruby -r yaml -e' p YAML.load(YAML.dump( :"foo bar" )) ' >> :"foo bar" >> >> what's yours? > > $ ruby -r yaml -ve 'p YAML.load(YAML.dump( :"foo bar" ))' > ruby 1.8.4 (2005-12-24) [i686-linux] > :"\"foo bar\"" > > Interesting. What's the 2006-01-12 1.8.4? ah. i guess you guys don't run latest stable? that 1.8.4 is getting old! ;-) i've always use the latest stable compiled from source. obviously i haven't compiled for a bit - but this is just a development machine. might want to try to compile a new ruby up and (before installing dear readers!) see if that fixes issues. don't forget to re-compile any binary exts! regards. -a -- suffering increases your inner strength. also, the wishing for suffering makes the suffering disappear. - h.h. the 14th dali lama