Forum: Ruby Ruby newbie: IRB syntax highlighting

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
F8ffac9a6991756e3303c9069a7dcc66?d=identicon&s=25 Tahir (Guest)
on 2005-12-13 16:44
(Received via mailing list)
Hi

I am new to Ruby (just a couple of days) and programming.

I have got IRB in my shell now (I have Kubuntu installed) but was
wondering if there is a way to switch on syntax highlighting in IRB so
typed code can have some colour.

I have read of "eval.rb" which seems to be able to highlight code but I
don't I have this installed.

Any ideas?

I have 'Kate' as my text editor and obviously this can show code in
colour but it would be nice to learn Ruby interactively in colour!

Thank you

Tahir
F8ffac9a6991756e3303c9069a7dcc66?d=identicon&s=25 Tahir (Guest)
on 2005-12-14 01:40
(Received via mailing list)
I have just figured out what "eval.rb" is !!
Have downloaded it from
http://www.rubyist.net/~slagell/ruby/eval.txt

irb now has colour highlighting!

Thanks anyway chaps

Tahir
This topic is locked and can not be replied to.