Gets.chomp not working| Learn Ruby the hard way exercise 11 : I am currently learning Ruby and I am stuck in the 11th exercise of _Learn Ruby the Hard Way_ and I have to write this:

    print "How old are you? "
    age = gets.chomp()
    print "How tall are you? "
    height = gets.chomp()
    print "How much do you weigh? "
    weight = gets.chomp()
    
    puts "So, you're #{age} old, #{height} tall and #{weight} heavy."

And I have to get this:

    How old are you? 35
    How tall are you? 6'2"
    How much do you weigh? 180lbs
    So, you're 35 old, 6'2" tall and 180lbs heavy.

but I get this:

    How old are you? 
    How tall are you? 
    How much do you weigh? 
    So, you're  old,  tall and  heavy.

So that means that gets.chomp is not working and I don't understand anything.

Please Help me

Thanks in advance,
Jason