bug #14 (ruby: while loops/blocks not recognized) fixed