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
CricleCi by default does not have tmp directory for rails projects.
Your options are to:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With