Jekyll 4.2.2 collections and folders within _collection

That error messages doesn’t really explain it to me :confused:

I have a folder structure like this for my collections:

content
  |——_de
  |  |——pages
  |  |——posts
  |——_en
     |——pages
     |——posts

The collections are _de and _en.
My _config.yml:

collections_dir: content
collections:
  de:
    output: true
    permalink: /:collection/:slug
  en:
    output: true
    permalink: /:collection/:slug

This works fine on macOS 12.3. I have to say I downgraded to ruby 2.7.3 last summer because Forestry didn’t support V3 yet.