From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS14383 205.234.109.0/24 X-Spam-Status: No, score=-0.5 required=5.0 tests=AWL,MSGID_FROM_MTA_HEADER, RP_MATCHES_RCVD shortcircuit=no autolearn=unavailable version=3.3.2 Path: news.gmane.org!not-for-mail From: Eric Wong Newsgroups: gmane.comp.lang.ruby.unicorn.general Subject: Re: "NoMethodError: undefined method" after switching to unicorn Date: Thu, 30 Jun 2011 12:45:15 -0700 Message-ID: <20110630194515.GA29105@dcvr.yhbt.net> References: <9E260BC166D04FF1B0B7CBC563B221BA@gmail.com> <4AABABCB7BED4EAC9D72BFFCEF981CEC@gmail.com> <20110630050420.GA19876@dcvr.yhbt.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1309463130 12652 80.91.229.12 (30 Jun 2011 19:45:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 30 Jun 2011 19:45:30 +0000 (UTC) To: unicorn list Original-X-From: mongrel-unicorn-bounces@rubyforge.org Thu Jun 30 21:45:26 2011 Return-path: Envelope-to: gclrug-mongrel-unicorn@m.gmane.org X-Original-To: mongrel-unicorn@rubyforge.org Delivered-To: mongrel-unicorn@rubyforge.org Content-Disposition: inline In-Reply-To: <20110630050420.GA19876@dcvr.yhbt.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: mongrel-unicorn@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: mongrel-unicorn-bounces@rubyforge.org Errors-To: mongrel-unicorn-bounces@rubyforge.org Xref: news.gmane.org gmane.comp.lang.ruby.unicorn.general:1032 Archived-At: Received: from rubyforge.org ([205.234.109.19]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QcNAy-0005DU-UC for gclrug-mongrel-unicorn@m.gmane.org; Thu, 30 Jun 2011 21:45:25 +0200 Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 819621858377; Thu, 30 Jun 2011 15:45:23 -0400 (EDT) Received: from dcvr.yhbt.net (dcvr.yhbt.net [64.71.152.64]) by rubyforge.org (Postfix) with ESMTP id A2C5118581B2 for ; Thu, 30 Jun 2011 15:45:16 -0400 (EDT) Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id DB3B921011; Thu, 30 Jun 2011 19:45:15 +0000 (UTC) Eric Wong wrote: > Tiago Scolari 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 _______________________________________________ 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