From: Joel VanderWerf Date: 2007-11-02T02:00:25+09:00 Subject: Re: YAML on OS X Leopard Gabriel Dragffy wrote: > I'm using Leopard and it has a decent Ruby installation, so I haven't > bothered with MacPorts. Used gems to install Rails. > > However when I go in to IRB and type: > require 'yaml' > > I always get 'false'. What do I have to do to get it to work? That just means yaml is already loaded. Try using it: $ irb irb(main):001:0> require 'yaml' => false irb(main):002:0> "foo".to_yaml => "--- foo\n" -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407