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.0 required=3.0 tests=AWL,MIME_QP_LONG_LINE, MSGID_FROM_MTA_HEADER shortcircuit=no autolearn=unavailable version=3.3.2 Path: news.gmane.org!not-for-mail From: Mike Perham Newsgroups: gmane.comp.lang.ruby.rainbows.general Subject: Re: problem with rainbows 3.2.0 and rbx Date: Sat, 30 Apr 2011 14:08:56 -0700 Message-ID: References: <20110427175523.GA31654@dcvr.yhbt.net> <20110430011926.GA15387@dcvr.yhbt.net> <20110430171428.GB29282@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 1304202752 10131 80.91.229.12 (30 Apr 2011 22:32:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 30 Apr 2011 22:32:32 +0000 (UTC) To: "Rainbows! list" Original-X-From: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Sun May 01 00:32:27 2011 Return-path: Envelope-to: gclrrg-rainbows-talk@m.gmane.org X-Original-To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Delivered-To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=EQiDQOveS1LPEWDSHY8RZxrw/bHXjHi1+VFVed9k7dI=; b=JTVc+cBearTqe/nME7jVwASS+O9KiQjRyY0ehqWl4+Xd4WsY1frcfkf80B+gjNfwTU DQQ1VMvDz9SKjvfeEyqjDtQPzvk8Z/3wenbbb93EdawWX74LRgosyIqpEa7REYYMGrHV JE/Wm+DNpHWSu6SWLs6xF1Vjy5r6pRA3XbNIQ= 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=qa1bYNj1IpnV12XMkfGKsamEY3Qt8tlK09eCXKj9PzI1POptNG35OotBrvZH/luYn/ m54GJUJp4muRV0Mt0e+sgEB+7bfQCX/oAZVCWD+yS6xA8GQdfHWsGY1OzQq+LuyibZ/B eYjHkob9unqwMxoZu+v45u0ZpqfeUb9MFE3oo= In-Reply-To: <20110430171428.GB29282-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org> X-BeenThere: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Errors-To: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Xref: news.gmane.org gmane.comp.lang.ruby.rainbows.general:238 Archived-At: Received: from rubyforge.org ([205.234.109.19]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QGIi9-0000EQ-C8 for gclrrg-rainbows-talk@m.gmane.org; Sun, 01 May 2011 00:32:25 +0200 Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 976CA18583B8; Sat, 30 Apr 2011 18:32:20 -0400 (EDT) Received: from mail-vw0-f50.google.com (mail-vw0-f50.google.com [209.85.212.50]) by rubyforge.org (Postfix) with ESMTP id 0EB6A18583BB for ; Sat, 30 Apr 2011 17:08:57 -0400 (EDT) Received: by vws14 with SMTP id 14so4781557vws.23 for ; Sat, 30 Apr 2011 14:08:57 -0700 (PDT) Received: by 10.52.98.71 with SMTP id eg7mr3986248vdb.47.1304197736903; Sat, 30 Apr 2011 14:08:56 -0700 (PDT) Received: by 10.52.183.106 with HTTP; Sat, 30 Apr 2011 14:08:56 -0700 (PDT) That was it. I added rainbows to my Gemfile and it started working. My app is Rails 3 and therefore uses Bundler. Thanks for your help! On Sat, Apr 30, 2011 at 10:14 AM, Eric Wong wrote: > Mike Perham wrote: >> I just used my OSX system ruby and gems (had to update rubygems to use >> bundler), same result: > > *Lightbulb!* > > 1) Is "preload_app true"? > 2) your app uses Bundler? > > Try adding "rainbows" to your Gemfile and try runing with "bundle exec > rainbows" instead of "rainbows". =A0"preload_app true" probably loads > bundler in your case and causes Rainbows! require paths to be nuked. > > Rainbows! has to lazy load some of its internals in the worker process > to allow SIGHUP to be used to switch concurrency models. > > -- > Eric Wong > _______________________________________________ > Rainbows! mailing list - rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org > http://rubyforge.org/mailman/listinfo/rainbows-talk > Do not quote signatures (like this one) or top post when replying > _______________________________________________ Rainbows! mailing list - rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org http://rubyforge.org/mailman/listinfo/rainbows-talk Do not quote signatures (like this one) or top post when replying