[Dancer-users] How to set config-environments when using Dancer as script

sawyer x xsawyerx at gmail.com
Wed Sep 28 19:40:28 CEST 2011


On Mon, Sep 26, 2011 at 4:40 PM, Assaf Gordon <gordon at cshl.edu> wrote:

> But I've noticed that Dancer (when used with ":script" option) ignores any
> command line arguments, and so the "environment" can't be set, and so the
> configuration settings are always loaded from "development.yml".
>

That's unfortunate behavior from Dancer. Sorry about that. :)

Have you tried the environment variable for Dancer environments?

S.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.backup-manager.org/pipermail/dancer-users/attachments/20110928/25ea4cc8/attachment.htm>


More information about the Dancer-users mailing list