@thomthom said:
I'm not sure, but I think someone before mentioned some issues with new line characters that acted unexpected.
Try opening the rb file in a good editor, setting the newline (end of line) character to UNIX (instead of Mac or WIN,) and resave the file.
Also sometimes, block comments =begin ... =end have problems (and I avoid using them and replace them with a '#' pound character at the start of each line.) My editor (Notepad++,) uses the pound characters when I use the block comment menu command on a highted multiline block of text.