From: "Rebhan, Gilbert" Date: 2007-03-13T19:58:54+09:00 Subject: Re: YAML.load_file problems Hi Stefano, -----Original Message----- From: Stefano Crocco [mailto:stefano.crocco@alice.it] Sent: Tuesday, March 13, 2007 9:31 AM To: ruby-talk ML Subject: Re: YAML.load_file problems /* YAML.load_file returns the contents of the yaml file in a hash or an array (depending on the contents of the file, in your case is a hash). You need to store the result somewhere, like this: config=YAML.load_file('config.yaml) ... config['cvsrepos'].each{ |x| ... IO.popen("#{config['CVSEXE']} -d ... } */ works fine :-) thanks Regards, Gilbert