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: AS33070 50.56.128.0/17 X-Spam-Status: No, score=1.3 required=3.0 tests=MSGID_FROM_MTA_HEADER, RDNS_NONE shortcircuit=no autolearn=no version=3.3.2 Path: news.gmane.org!not-for-mail From: "Lin Jen-Shin (godfat)" Newsgroups: gmane.comp.lang.ruby.rainbows.general Subject: Re: [PATCH] Update eventmachine to 1.0.3 which compiles under Ruby 2.0 Date: Sat, 14 Sep 2013 03:13:33 +0800 Message-ID: References: <1379004491-71337-1-git-send-email-godfat@godfat.org> <20130913181933.GA11118@dcvr.yhbt.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1379099650 28243 80.91.229.3 (13 Sep 2013 19:14:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Sep 2013 19:14:10 +0000 (UTC) Cc: Rainbows! list To: Eric Wong Original-X-From: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Fri Sep 13 21:14:12 2013 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=godfat.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=/YXuoU8Gt5ZuUlqsAwOUTPy8vngrsVDQZSE3zr7tuRc=; b=Ne29eFoChu7HKIt3yl9n9m5jPEgPbWI80uZpBxBSKXPAT+aZUfPWjtnuZqVa/J1j7x Q0HTXs96+owDX8xgR9ZS90MuMgrrBKb+Otfg8kic+D4meyam1tcrEJUkR7sNFQPNmVG6 LKe2qFtbfeENgAQNdiQ8TsDHKyyr+gmwgSWKE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=/YXuoU8Gt5ZuUlqsAwOUTPy8vngrsVDQZSE3zr7tuRc=; b=HBX+6uv4FlXJEIjDyaVcGL4mEDZr15CsJwGnzV4c6CFPjZISBqpftX9NkQrGNwzoIs 5c0p2UsqvrUIwj8Ni9t+d+wXsohdHqvJ+nmsDLIyZeFRuhGEVZOd8PvqAIyx5A0MjrE/ TykJunvo2H3F20AbKXZDKGjg+4hUXhP8pJx0adPZXWRi7keNBDC4pwojEITiMKo603Ov vFzw717P1axQzQeeY2/SRFjq8yyGiQSL3IqJUHkPECe4t7HJW3X/dQkYYsHhnEhBclB9 kk+YUnrC7pUc907+NhquQdReDMtxXc08szRAHwKVtYNyxaB0DI59n4bmFLNNjQP+xoYJ LD8g== X-Gm-Message-State: ALoCoQlWqx3G5Uc6MGvZULEyPMeVgm49YYTkQbJqZMLKCKPO+BA2IAOxWXya8FnBi+17NshdQgWG X-Received: by 10.14.219.198 with SMTP id m46mr19975004eep.41.1379099643555; Fri, 13 Sep 2013 12:14:03 -0700 (PDT) In-Reply-To: <20130913181933.GA11118-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 X-Broken-Reverse-DNS: no host name found for IP address 50.56.192.79 Xref: news.gmane.org gmane.comp.lang.ruby.rainbows.general:541 Archived-At: Received: from [50.56.192.79] (helo=rubyforge.org) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VKYol-0007Za-VH for gclrrg-rainbows-talk@m.gmane.org; Fri, 13 Sep 2013 21:14:12 +0200 Received: from localhost.localdomain (localhost [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 4086B2E190; Fri, 13 Sep 2013 19:14:12 +0000 (UTC) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by rubyforge.org (Postfix) with ESMTP id C93392E18E for ; Fri, 13 Sep 2013 19:14:05 +0000 (UTC) Received: by mail-ee0-f54.google.com with SMTP id e53so769660eek.41 for ; Fri, 13 Sep 2013 12:14:03 -0700 (PDT) Received: by 10.223.200.132 with HTTP; Fri, 13 Sep 2013 12:13:33 -0700 (PDT) On Sat, Sep 14, 2013 at 2:19 AM, Eric Wong wrote: > EM 1.0.3 doesn't seem to work with Cramp. Can you try? I probably won't > have time to look further for at least a week. > > Thanks. Umm... looks like Cramp doesn't even run smooth on Ruby 2.0 (or even 1.9?) I just tried EM 1.0.3 with Cramp 0.15.1, there's an encoding issue in: t/tmp/isolate/ruby-2.0.0/cramp/gems/cramp-0.15.1/lib/cramp/callbacks.rb:82 Which has an improper regexp: /\000([^\377]*)\377/ After adding magic binary encoding on top of the file: # encoding: binary Then all tests in EventMachine.t0500-cramp-streaming.sh and EventMachine.t0501-cramp-rainsocket.sh passed. What should we do here? Are people even using Cramp..? It seems it's not updated for two years already. Please take your time, thanks! _______________________________________________ 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