I\'ve started some problems on Project Euler. One of the questions:
The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the numbe
Try adding a STDOUT.sync = true. You could also try STDOUT.flush after the puts. Some more info here.
STDOUT.sync = true
STDOUT.flush
puts