Ruby - Read entire file into an array, split by lines, using readlines