Forum: Ruby Cannot get IRB to run

E1c0b9b22d98d407877fff0761fa404a?d=identicon&s=25 Drew Bennett (drewellen)
on 2014-03-01 16:53
Hi All,

Apologies up front but I am a total newbie to Ruby and just starting out
using Peter Coopers book.

I am on a Mac, snow leopard 10.6.8 and have pre-installed Ruby 1.8.7.

I am trying to launch IRB and getting the following, not sure how to
install IRB or if I have to do a complete install from source, any help
is appreciated. My book says I should see something like the following

irb(main):001:0>


Last login: Sat Mar  1 10:27:50 on ttys000
unknown0019e301082d:~ drewbennett$ ruby -v
ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin10.0]
unknown0019e301082d:~ drewbennett$ irb
>>
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.