Launch Problem

John Wulff johnwulff at gmail.com
Fri Feb 26 02:52:10 EST 2010


Thanks for the gentle response Eric.  I did indeed forget an include,
so emberrasing.

On Feb 25, 2010, at 11:45 PM, Eric Wong <normalperson at yhbt.net> wrote:

> John Wulff <johnwulff at gmail.com> wrote:
>> I'm experiencing this, can't seem to figure it out.  Any help would
>> be
>> appreciated, thanks!
>>
>> $ unicorn_rails -c current/config/unicorn.rb -E production
>> current/config/unicorn.rb:2:in `reload': uninitialized constant
>> Unicorn::Configurator::YAML (NameError)
>
> Hi John,
>
> Unicorn itself doesn't use YAML anywhere, so you're probably just
> forgetting to load it somewhere in your config file:
>
>  require 'yaml'
>
> Some servers (Mongrel, Thin) use YAML config files, so they would've
> already required 'yaml' for you.
>
> --
> Eric Wong


More information about the mongrel-unicorn mailing list