unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
* Launch Problem
@ 2010-02-26  3:13 John Wulff
  2010-02-26  7:45 ` Eric Wong
  0 siblings, 1 reply; 3+ messages in thread
From: John Wulff @ 2010-02-26  3:13 UTC (permalink / raw)
  To: unicorn list

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)
        from /usr/local/lib/ruby/gems/1.8/gems/unicorn-0.96.0/lib/unicorn/configurator.rb:42:in
`initialize'
        from /usr/local/lib/ruby/gems/1.8/gems/unicorn-0.96.0/lib/unicorn.rb:167:in
`new'
        from /usr/local/lib/ruby/gems/1.8/gems/unicorn-0.96.0/lib/unicorn.rb:167:in
`initialize'
        from /usr/local/lib/ruby/gems/1.8/gems/unicorn-0.96.0/lib/unicorn.rb:28:in
`new'
        from /usr/local/lib/ruby/gems/1.8/gems/unicorn-0.96.0/lib/unicorn.rb:28:in
`run'
        from /usr/local/lib/ruby/gems/1.8/gems/unicorn-0.96.0/bin/unicorn_rails:207
        from /usr/local/bin/unicorn_rails:19:in `load'
        from /usr/local/bin/unicorn_rails:19
_______________________________________________
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Launch Problem
  2010-02-26  3:13 Launch Problem John Wulff
@ 2010-02-26  7:45 ` Eric Wong
  2010-02-26  7:52   ` John Wulff
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Wong @ 2010-02-26  7:45 UTC (permalink / raw)
  To: John Wulff; +Cc: unicorn list

John Wulff <johnwulff@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
_______________________________________________
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Launch Problem
  2010-02-26  7:45 ` Eric Wong
@ 2010-02-26  7:52   ` John Wulff
  0 siblings, 0 replies; 3+ messages in thread
From: John Wulff @ 2010-02-26  7:52 UTC (permalink / raw)
  To: Eric Wong; +Cc: unicorn list

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@yhbt.net> wrote:

> John Wulff <johnwulff@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
_______________________________________________
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-02-26  7:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-26  3:13 Launch Problem John Wulff
2010-02-26  7:45 ` Eric Wong
2010-02-26  7:52   ` John Wulff

Code repositories for project(s) associated with this public inbox

	https://yhbt.net/unicorn.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).