kgio RubyGem user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: Emmanuel Pinault <Emmanuel.Pinault@zumobi.com>
To: kgio@librelist.org
Subject: Re: Issue with kgio and ruby 2.1.2
Date: Mon, 12 May 2014 17:01:26 +0000	[thread overview]
Message-ID: <5FC0D274-83FC-4E39-A801-18126DB95776@zumobi.com> (raw)
In-Reply-To: 80B9CD93-8C72-41D9-880E-21A05B85C9C6@zumobi.com

I recompiled from scratch and ended up having no issues. But I had to update  my version of ruby-install (which was 6 months old I think)

Thanks for the help!

Emmanuel
On May 9, 2014, at 5:05 PM, Emmanuel Pinault <Emmanuel.Pinault@zumobi.com> wrote:

> Ok, I ll give it a try for rebuilding it from scratch . I found that my ruby-install was old and maybe some flag need to be adjusted (and was maybe done already in latest version)
> 
> By the way, I am running Xubuntu 12.04 on a VM, latest of  ruby-install and chruby  now and will let you know what  I found.
> 
> Also I was looking at the code where I can only see one place in kgio referring to method_defined?
> 
> if (!rb_funcall(cFile, rb_intern("method_defined?"), 1,
>                        ID2SYM(id_to_path)))
>                rb_define_alias(cFile, "to_path", "path”);
> 
> thanks
> 
> Emmanuel
> 
> On May 9, 2014, at 4:51 PM, Eric Wong <normalperson@yhbt.net> wrote:
> 
>> Emmanuel Pinault <Emmanuel.Pinault@zumobi.com> wrote:
>>> Hi 
>>> 
>>> I upgraded from Ruby 2.1.0 to Ruby 2.1.2 . I have installed rails and unicorn and both of the version of Ruby have the same gem installed…
>>> 
>>> unfortunately I see the following error with 2.1.2..  Works fine with 2.1.0
>>> 
>>> ruby -Itest /some/minitest/file_test.rb
>>> 
>>> /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.
> 



      reply	other threads:[~2014-05-12 17:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-09 23:08 Issue with kgio and ruby 2.1.2 Emmanuel Pinault
2014-05-09 23:51 ` Eric Wong
2014-05-10  0:05   ` Emmanuel Pinault
2014-05-12 17:01     ` Emmanuel Pinault [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://yhbt.net/kgio/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5FC0D274-83FC-4E39-A801-18126DB95776@zumobi.com \
    --to=emmanuel.pinault@zumobi.com \
    --cc=kgio@librelist.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhbt.net/kgio.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).