Syntax errors, warnings and messages are listed both the Ruby Console and the Error List. You may click the error message in the Console to locate the error in the code editor. It may be more convenient, however, to use the Error List.
The Error List window shows each message on a separate row; it displays the name of the file in which the problem occurs and the line on which Ruby believes a syntax error to be found. Click the item to locate the problem line of code.
There are three types of message which may be displayed in this window: Error, Warning and Message. You can toggle the display of these message types by selecting the appropriate tabs. In the code editor, the location of an error is indicated by a red wavy line; the location of a warning is indicated by a blue wavy line.