"NoMethodError: undefined method" after switching to unicorn

Eric Wong normalperson at yhbt.net
Thu Jun 30 15:45:15 EDT 2011


Eric Wong <normalperson at yhbt.net> wrote:
> Tiago Scolari <tscolari at gmail.com> wrote:
> > Any idea what could cause this?
> 
> Are you using preload_app?

(private response said "yes")

> > vendor/plugins/rpm/lib/new_relic/agent/instrumentation/unicorn_instrumentation.rb:7:in
> > `call'
> 
> Hrm, I wonder if the above file depends on (undocumented) Unicorn internals
> that changed in unicorn 4.0.0?
> 
> > [GEM_ROOT]/gems/unicorn-4.0.0/lib/unicorn/http_server.rb:475:in
> > `spawn_missing_workers'
> 
> It might be worth it to try unicorn 3.7.0 since 4.0.0 was just released
> and some gems that depend on internal implementation details could
> be broken.

Reverting to 3.7.0 appears to have fixed the issue for the user.

-- 
Eric Wong


More information about the mongrel-unicorn mailing list