help ruby csv does not write to file code example Example: save to csv ruby CSV.open("filename.csv", "wb") do |row| row << ["a", "b", "c"] end