first, have you tried doing what the error msg suggests?
also please read the documentation:
CSV.File(path)
see also: