From: "Windham, Kristopher R." Date: 2008-01-20T02:17:15+09:00 Subject: Re: Ruby with Mac OS X require 'yaml' seems like you may want to back up and do some more reading.. here's a good starting point... http://en.wikibooks.org/wiki/Ruby_Programming On Jan 19, 2008, at 12:03 PM, Tj Superfly wrote: > Well, I'm using it with arrays, here's a clip of the code that I'm > using. > > captions_number = YAML.load(File.open("arrays/captions_number.yaml")) > captions = YAML.load(File.open("arrays/captions_array.yaml")) > captions_delete = [] > > Basically that clip right there opens the files and sets them for an > array that I use later in the program. I then at the end, send out all > the updates arrays to the files so when it loops back through the > array > is updated. This way I can close the program and my arrays are > still set > where they were left off. > > Like I said it works great in windows, not sure why it's not working > with the Mac. > -- > Posted via http://www.ruby-forum.com/. >