Ruby with Mac OS X

Hassan Schroeder 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, :stuck_out_tongue: 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.

···

On Jan 19, 2008 9:43 AM, Tj Superfly <nonstickglue@verizon.net> wrote:

--
Posted via http://www.ruby-forum.com/\.

And if I paste your sample code into irb, down to where it loads the
first flle, it works fine here.

Have you tried stepping it line by line in irb on your system?

···

On Jan 19, 2008 10:08 AM, Tj Superfly <nonstickglue@verizon.net> wrote:

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.

--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com