rspec - Spec creating tmp file on circleCI is failing -
i have rspec test creates tmp file , read in 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 default not have tmp directory rails projects.
your options to:
- use system /tmp
- add tmp git repository
- add post checkout hook in circle.yml create it
Comments
Post a Comment