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

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

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

android - How to create dynamically Fragment pager adapter -