From: Tj Superfly Date: 2008-01-20T03:08:58+09:00 Subject: Re: Ruby with Mac OS X Hassan Schroeder wrote: > On Jan 19, 2008 9:43 AM, Tj Superfly wrote: > >> And, turns our 1.9.0 is the current one installed and running; she >> didn't know that it was preinstalled on macs. > > That's very hard to believe. When did she get this system? Because > as of December when I got a new Mac, it came with 1.8.6. > > Open a terminal window and type `ruby -v` and `which ruby` and > see what they output. Anyway, it appears from using that to get the version, 1.8.6 is running. Macintosh:~ Xepha$ ruby -v ruby 1.8.6 (2007-03-13 patchlevel 0) [universal-darwin8.0] Macintosh:~ Xepha$ So, :P now that, that is all solved, YAML? =( Here's what we know, 1. YAML is on the system. 2. So something is wrong with the program code, which I provided above. ~~~~~~~~~~~~~~~~~~~~~ Response to other post. ~~~~~~~~~~~~~~~~~~~~~~~~ I'm running 1.8.6 on my windows also. The versions are identical. This YAML thing shouldn't be an issue. I have reduced the code to the line where it's not working, which I originally posted; then someone else asked for more, so I basically condensed the whole thing into the 2nd portion of code that I posted. -- Posted via http://www.ruby-forum.com/.