I started going through Ruby scripting examples here:
Copying and pasting scripts from there into ruby console causes error, presumably because of multiple statements on a single line.
If I manually type each statement on a separate line, things work.
It looks like there used to be a ‘multiline’ option (as well as load and save options) in ruby console.
Those don’t seem to exist any more.
It would be nice if the ‘Getting Started’ examples actually worked via copy and paste with the current version of the Ruby Console, or there was a note somewhere explaining the issue.