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: AS47066 71.19.144.0/20 X-Spam-Status: No, score=-1.9 required=3.0 tests=AWL,BAYES_00, MSGID_FROM_MTA_HEADER shortcircuit=no autolearn=unavailable version=3.3.2 Path: news.gmane.org!not-for-mail From: Eric Wong Newsgroups: gmane.comp.lang.ruby.kgio.general Subject: Re: Issue with kgio and ruby 2.1.2 Date: Fri, 9 May 2014 23:51:13 +0000 Message-ID: <20140509235113.GA14984@dcvr.yhbt.net> References: <69876B82-B214-4D2A-8534-B9DDBD6DD215@zumobi.com> <69876B82-B214-4D2A-8534-B9DDBD6DD215@zumobi.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1399679492 29231 80.91.229.3 (9 May 2014 23:51:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 9 May 2014 23:51:32 +0000 (UTC) To: kgio@librelist.org Original-X-From: kgio@librelist.org Sat May 10 01:51:22 2014 Return-path: Envelope-to: gclrkg-kgio@m.gmane.org List-Archive: List-Help: List-Id: List-Post: List-Subscribe: List-Unsubscribe: Precedence: list Original-Sender: kgio@librelist.org Xref: news.gmane.org gmane.comp.lang.ruby.kgio.general:274 Archived-At: Received: from zedshaw2.xen.prgmr.com ([71.19.156.177]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WiuZV-0000GU-Q0 for gclrkg-kgio@m.gmane.org; Sat, 10 May 2014 01:51:22 +0200 Received: from zedshaw2.xen.prgmr.com (unknown [IPv6:::1]) by zedshaw2.xen.prgmr.com (Postfix) with ESMTP id 8BB597571A for ; Fri, 9 May 2014 23:55:39 +0000 (UTC) Emmanuel Pinault wrote: > Hi=20 >=20 > I upgraded from Ruby 2.1.0 to Ruby 2.1.2 . I have installed rails and u= nicorn and both of the version of Ruby have the same gem installed=E2=80=A6 >=20 > unfortunately I see the following error with 2.1.2.. Works fine with 2= .1.0 >=20 > ruby -Itest /some/minitest/file_test.rb >=20 > /home/preseed/.gem/ruby/2.1.2/gems/kgio-2.9.2/lib/kgio.rb:21:in `method= _defined?': -2.0000000001404037 is not a symbol (TypeError) Hi, this looks like a binary compatibility problem. The most likely suspect is some build/compiler options changed between when you installed 2.1.0 and today. I just checked Ruby 2.1.2 for accidental ABI changes (by looking for header changes in the include/ directory) but did not find any. I also just upgraded some of my machines without problems. Can you try a clean build + install, perhaps with a different home directory and user? Thanks.