Error message on Exercise 11 LRHW

Can anyone tell me why I’m getting the error message for this piece of code on exercise 11 of Learn Ruby The Hard Way:

C:/Users/rdimb/temp/ex11.rb:3:in <main>': undefined methodchomp’ for nil:NilClass (NoMethodError)
How old are you?

I’m I blind to something??

It seems that atom can’t execute user input?

Please provide the source code.