Have you tried looking into these differences?

print "\b"

puts "\b"

p "\b"

-- 
Posted via http://www.ruby-forum.com/.