0

When running bundle exec middleman contentful, two yaml files are being generated, somehow causing both to be deleted from data/test_space/post.

enter image description here

However, a .tmp directory with backups is being created containing the contentful yaml data.

enter image description here

I've created a minimal test-case at https://github.com/lukeboga/MM-01:

$ git clone https://github.com/lukeboga/MM-01.git
$ bundle install

Q: Why are these files being generated twice and how can I prevent this?

A similar issue seems to have been reported at https://github.com/contentful/contentful_middleman/pull/73, but a fix has been merged...

I'm using:

  • Middleman 4.2.1
  • contentful_middleman gem, dl/upgrade-to-v4 branch
  • Ruby 2.4.0
  • Bundler 1.14.3
  • Rubygems 2.6.10.
  • Vagrant VM, ubuntu/xenial box.

Update: For what it's worth, I'm getting the same in ruby 2.3.3

4

0 回答 0