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

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -