Skip to content

Standalone mode config file lookup #47

@pplu

Description

@pplu

Hi,

I was trying to use Yancy in standalone mode. My setup creates a cpanfile declaring Yancy and dependencies, carton installed. I was creating the yancy.conf file in the homedir of the project, but it didn't seem to get loaded. A bit of investigating shows that the yancy.conf is looked up in local/lib/perl5, which I wasn't expecting.

pplu@clamps:~/yancy$ carton exec strace yancy daemon 2>&1 | grep conf
[...]
stat("/home/pplu/yancy/local/lib/perl5/yancy.development.conf", 0x788680) = -1 ENOENT (No such file or directory)
stat("/home/pplu/yancy/local/lib/perl5/yancy.conf", 0x788680) = -1 ENOENT (No such file or directory)
[...]

Any ideas on how to fix this?

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