I have rspec test which creates a tmp file and it is read in the test. CircleCI fails saying
Failure/Error: file_name = generate_csv_file(items)
Errno::ENOENT:
No such file or directory @ rb_sysopen - /home/ubuntu/project/tmp/batch_1443573588.csv
echo $TMPDIR
. Also, please show your code that creates the temp file.