From: "s.ross" Date: 2008-01-20T03:02:25+09:00 Subject: Re: Ruby with Mac OS X Tj-- I would recommend you reduce your program to the smallest number of lines of code that fail around this particular problem. If you still can't see what is causing this, then put the code on http://pastie.caboo.se so everyone can look at it. Remember, looking at your whole program is going to be more confusing than looking at the most trivial reproducible case. Also, as mentioned, you can eliminate some complexity by simply using Ruby 1.8.6, as shipped with Mac OS X. That way, most people on this list will have the same release. Certainly some are running 1.9, but it is a development release so YMMV. As a previous poster mentioned, you should ask yourself why it works on Windows. If you type ruby -v on Windows, do you get 1.8.6? There are a number of things to explore here. Happy spelunking. On Jan 19, 2008, at 9:43 AM, Tj Superfly wrote: > That works fine, the output was "YAML". From what you said, that's a > good sign. > > Now I'm still getting the same error message that I posted above > when I > run the program. > > "Macintosh: ~Xepha$ ruby /users/Xepha/Documents/for-v/numbered_news.rb > /users/Xepha/Documents/for-v/numbered_news.rb:14: uninitialized > constant > YAML (NameError)" > > And, turns our 1.9.0 is the current one installed and running; she > didn't know that it was preinstalled on macs. =/ So, yes she is > running > 1.9.0 now; YAML is "working" just not in the program that I've > written.