I'm reading an eBook for EXTREME beginners in Ruby. It's walking me through VERY step-by-step, but I want to make sure I'm doing it right before I move on.
My first problem was when I typed irb. Instead of getting irb(main):001:0> like I was supposed to, I just got >>. I finally found how to change my prompt format to inf-ruby.
NOW, I'm worried about missing the other prefixes on each line. There are no resulting =>s or >s. Can someone explain to me (very simply) how to "turn those on" so that I can compare my code exactly to my book?
Thank you so much.
(I'm on Mac OS X 1.7, Ruby 1.8.7, using terminal)
try
or
or this after irb starts
also check
irb --helpit has some great help use that :)