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

Assaf Gordon gordon at cshl.edu
Wed Sep 28 20:05:46 CEST 2011


sawyer x wrote, On 09/28/2011 01:40 PM:
> On Mon, Sep 26, 2011 at 4:40 PM, Assaf Gordon <gordon at cshl.edu
> <mailto: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".
> 
> 
> Have you tried the environment variable for Dancer environments?
> 



More information about the Dancer-users mailing list