If Ruby is installed, then
ruby yourfile.rb
where yourfile.rb is the file containing the ruby โโcode.
or
irb
to launch an interactive Ruby environment where you can type lines of code and see results immediately.
theglauber Sep 11 '12 at 22:26 2012-09-11 22:26
source share