On Friday 26 May 2006 11:12, Yochen Gutmann wrote: > Hi Rubyfolks, > > I've just started to learn ruby, using Eclipse and RDT as IDE (on Mac). > One of my first program was the following (don't laugh!): > > print "Whats your name? " > name = gets > print "Your name is: "+name print doesn't output newlines, puts does. Try this: puts "Whats your name? " name = gets puts "Your name is: "+name Due to output buffering, output without a newline is sometimes not printed right away. Jim