Operating System
linux ruby:latest
Ruby Version
3.1.2
Jekyll Version
4.2.2
GitHub Pages Version
NA
Expected Behavior
When collections/_cupcakes folder is added to _config.yml create custom folder on bundle exec jekyll build --verbose --trace aka jekyll build.
I ran into a troublesome bug, maybe I am doing something wrong here, but on my CI/CD, I kept getting an error and couldn’t pin point it down because the collections/_posts folder was being created without any trouble, but the _cupcakes folder and files kept populating the error:
bundler: failed to load command: jekyll (/usr/local/bundle/bin/jekyll)
<internal:dir>:98:in `open': No such file or directory @ dir_initialize - ./collections/_cupcakes/ (Errno::ENOENT)
I am able to manually create this folder with Ruby, but shouldn’t Jekyll do this?
Current Behavior
bundler: failed to load command: jekyll (/usr/local/bundle/bin/jekyll)
<internal:dir>:98:in `open': No such file or directory @ dir_initialize - ./collections/_cupcakes/ (Errno::ENOENT)
Config Code Sample
My _config.yml snippet:
# Collection configuration
# These collections will sort types of products and loop through that
# type to be displayed on a page. As an example, I have 10 "3D" items, all 10 items
# will be displayed when a category is selected on the product main index page.
collections_dir: collections
collections:
products:
output: true # true or false
permalink: /products/:path/