Use say rather than puts.