Ruby interpreters
From wikinotes
pry
Coloured interpreter with autocomplete.
pry # start pry interpreter ruby -r pry -e 'binding.pry' # start pry interpreter from specific ruby interpSee ruby pry.
iruby
ipython with ruby kernel.
See ruby iruby.
irb
A nice interpreter for ruby.
See ruby irb.
ruby -e
Ruby's interpreter is irb. It is important to note that every command issued in ruby has a return value. If a return value is not specified, the nil object will be returned instead.
ruby -e 'loop { p eval gets }' ## a dirty ruby REPL