public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Hans de Graaff <graaff@gentoo.org>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: installing ffi gem
Date: Fri, 22 Apr 2011 06:52:28 +0200	[thread overview]
Message-ID: <c5e788-m9t.ln1@graaff.xs4all.nl> (raw)
In-Reply-To: 20110421235713.GA18633@genestate.com

On Fri, 22 Apr 2011 00:57:13 +0100, Matt Harrison wrote:

> I've just tried setting up a new development machine and I'm stuck
> installing the ffi gem for ruby.
> 
> According to a bug I found (can't find it now I'm afraid) the gentoo
> devs do not support installing gems via the gem command and directed the
> user to use the dev-ruby/ffi package. Unfortnately, that package is
> absolutely ancient and unusable.

That is correct, we recommend to use our native Gentoo packages when 
present.

If you have a problem with a package, then please file a bug report at 
https://bugs.gentoo.org/  ffi-0.6.3-r1 should be usable.

> Anyway, I've got the ffi library install from portage, but when I try to
> `gem install ffi`, I get the output seen in the attachement.

Yes, you are trying to install a version of the ffi gem that is not 
compatible with your ruby version. ffi-0.6.3 is the latest version that 
reliably works with ruby 1.8. The ffi-1.x series never worked reliably 
with ruby 1.8, and the latest version have officially removed support for 
it and only work with ruby 1.9. This is also the reason that ffi-0.6.3 is 
the latest version in the tree.

Kind regards,

Hans




      parent reply	other threads:[~2011-04-22  5:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-21 23:57 [gentoo-user] installing ffi gem Matt Harrison
2011-04-22  0:25 ` Alan McKinnon
2011-04-22  0:33 ` kashani
2011-04-22  0:39   ` Matt Harrison
2011-04-22  3:54     ` skiarxon
2011-04-22  4:54   ` [gentoo-user] " Hans de Graaff
2011-04-22  6:12     ` kashani
2011-04-22 17:36       ` Hans de Graaff
2011-04-22  4:52 ` Hans de Graaff [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

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

  git send-email \
    --in-reply-to=c5e788-m9t.ln1@graaff.xs4all.nl \
    --to=graaff@gentoo.org \
    --cc=gentoo-user@lists.gentoo.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox