×

ruby · level 1 · unit 1 · lesson 4

  1. meet it
  2. guess first
  3. your turn
  4. fix it
  5. nailed it

Tap a green word if you get lost.

meet it

An is a clue, not a disaster.

An error is Ruby saying it got stuck. Everyone gets them, even experts. The message starts with the kind of error, then tells you which line to look at.

A means Ruby cannot read your code, like a sentence with words missing. Often a quote mark has gone astray.

A means Ruby met a word it does not know, like text with no quotes around it. Capitals matter too: Puts gives a , because Ruby has no command called Puts.

Ruby stops at the first problem it meets, so fix that one and run again.