Skip to content

Alternate configuration files not supported #14

Description

@anitagraham

If I use the command line option --config to specify an alternate config file, and I don't have a _config.yml, jekylll-plugin-support reports

>mode="${1:-development}";
>echo "Running in ${mode} mode"
>config_file="_config_${mode}.yml"

>bundle exec jekyll serve --config "$config_file" 
Running in development mode
Gem Load Error is: No such file or directory @ rb_sysopen - _config.yml

I encountered this error when I decided (wright or wrong) to separate my configs into _config_production.yml and _config_development.yml

I assume that if _config.yml did exist, that file would be used instead of the requested file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions