Learn Ruby

by David Chin on August 17, 2009

The Ruby Study Notes / Tutorials on rubylearning.com is a good place to start learning Ruby.

I'd already written my first "Hello" Ruby program in Textmate.

First, I created an empty p001hello.rb file and opened that in Textmate.

Next, I pasted and tidied up the sample code, and executed the program by pressing ⌘R, which opens an HTML preview window showing the results.

My first Ruby program

That was all there was to it. I'm pretty amazed how smoothly it all went.

Previous post:

Next post: