On Thu, 8 Jun 2006, Logan Capaldo wrote:

> ara, try this:
>
> % irb
> irb(main):001:0> require 'yaml'
> => true
> irb(main):002:0> sym = :"a symbol"
> => :"a symbol"
> irb(main):003:0> sym == sym
> => true
> irb(main):004:0> sym == YAML.load(YAML.dump(sym))
> => false
> irb(main):005:0> sym
> => :"a symbol"
> irb(main):006:0> YAML.load(YAML.dump(sym))
> => :"\"a symbol\""
> irb(main):007:0> VERSION
> => "1.8.4"
>
> Looks like a bug to me.



   harp:~ > irb -r yaml
   irb(main):001:0> sym = :"a symbol"
   => :"a symbol"
   irb(main):002:0> sym == sym
   => true
   irb(main):003:0> sym == YAML.load(YAML.dump(sym))
   => true
   irb(main):004:0> sym
   => :"a symbol"
   irb(main):005:0> YAML.load(YAML.dump(sym))
   => :"a symbol"
   irb(main):006:0> VERSION
   => "1.8.4"


looks like a bad ruby to me.  a package installer?  mine is compiled on rhe and
seems to work fine?


-a
-- 
suffering increases your inner strength.  also, the wishing for suffering
makes the suffering disappear.
- h.h. the 14th dali lama