puts("What do you call a girl whose tongue is out all the time!")
what = gets.chomp
while what != "miley"
puts("Try again! Think and twerk!")
what = gets.chomp
end
puts(what.chomp+ ". Wow, you have no life".chomp)
The input had a new line at the end. The chomp method will get rid of it.
When in doubt, use
String#dump[
^] to make sure you are getting what you think you are getting.