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.6 required=5.0 tests=AWL,FREEMAIL_FROM, MSGID_FROM_MTA_HEADER,RP_MATCHES_RCVD,T_DKIM_INVALID shortcircuit=no autolearn=unavailable version=3.3.2 Path: news.gmane.org!not-for-mail From: Jeremy Evans Newsgroups: gmane.comp.lang.ruby.unicorn.general Subject: Re: Unicorn and home_run Date: Wed, 25 Aug 2010 07:46:08 -0700 Message-ID: References: <20100824195813.GA10622@dcvr.yhbt.net> <20100825075056.GA14658@dcvr.yhbt.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1282747588 24410 80.91.229.12 (25 Aug 2010 14:46:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 25 Aug 2010 14:46:28 +0000 (UTC) To: unicorn list Original-X-From: mongrel-unicorn-bounces@rubyforge.org Wed Aug 25 16:46:26 2010 Return-path: Envelope-to: gclrug-mongrel-unicorn@m.gmane.org X-Original-To: mongrel-unicorn@rubyforge.org Delivered-To: mongrel-unicorn@rubyforge.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=B4pBirqeJj/8iC8WuIXyPoh4Oow1WBZkHpxXyqeKUBk=; b=BZxPEtFO1oQJzHqKvUiMNlV2QveodLzpQNHPDtI49bm5LtBSsQlJ0s6LqWQM8jy20i jt5N4swBZ9MOcCATqOpQXP6DkdvaP/yF/crej/X18Lyp/xKk3UbaP7WLL7JAQM8swRx4 84VVhLyQOlcxYqNokkaAZWoLdWoRb7Mw4XYis= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=ESkCzAK1w2k5JygASXAz81yrIDtuDiaXGU7+2z0nuZCputs5Bts0Cs1rq/jITv+AYz SqdvJusBMGqWS1H96j3ZDfxJt0cIU+LN5D9yyvqI0aXPUwyU7/NmF13raW+OK+UzLMH3 miw/4dGbPy8mjSPcafFZRHt2GKoJsMbMsUlro= In-Reply-To: <20100825075056.GA14658@dcvr.yhbt.net> 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:688 Archived-At: Received: from rubyforge.org ([205.234.109.19]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OoHF4-0007y5-Et for gclrug-mongrel-unicorn@m.gmane.org; Wed, 25 Aug 2010 16:46:18 +0200 Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 533FF1858392; Wed, 25 Aug 2010 10:46:17 -0400 (EDT) Received: from mail-pz0-f50.google.com (mail-pz0-f50.google.com [209.85.210.50]) by rubyforge.org (Postfix) with ESMTP id 32E6F185838E for ; Wed, 25 Aug 2010 10:46:09 -0400 (EDT) Received: by pzk28 with SMTP id 28so381078pzk.23 for ; Wed, 25 Aug 2010 07:46:09 -0700 (PDT) Received: by 10.114.67.8 with SMTP id p8mr9539739waa.162.1282747569373; Wed, 25 Aug 2010 07:46:09 -0700 (PDT) Received: by 10.231.190.196 with HTTP; Wed, 25 Aug 2010 07:46:08 -0700 (PDT) On Wed, Aug 25, 2010 at 12:50 AM, Eric Wong wrote: > Jeremy Evans wrote: >> > Are you starting it with "home_run unicorn_rails" or did you install >> > it system-wide? >> >> Clifton told me that was working for him. =A0One of the reasons it may >> work where the other way didn't is that in addition to setting up the >> load path, it also requires the library up front. > > Yeah, I figured using the "home_run" wrapper would be less than > ideal since it would get lost during exec upgrades and newer > versions of home_run wouldn't get picked up the same way it'd get > picked up in a system install. The home_run wrapper works by modifying the environment (RUBYLIB and RUBYOPT). Does the environment get reset during exec upgrades? You are correct that newer versions would not get picked up, as it's going to hard code a specific gem version. >> I think this problem is solved in the master branch. > > Thanks. =A0I'd be eager to hear how it works out since this could be a > popular library very soon :) Is there a home_run mailing list I could > follow? I haven't set up a mailing list for it (you are the first person to ask about one), but I've been hanging out by myself in #home_run on freenode (IRC). Jeremy _______________________________________________ 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