1 |
On Fri, 22 Apr 2011 00:57:13 +0100, Matt Harrison wrote: |
2 |
|
3 |
> I've just tried setting up a new development machine and I'm stuck |
4 |
> installing the ffi gem for ruby. |
5 |
> |
6 |
> According to a bug I found (can't find it now I'm afraid) the gentoo |
7 |
> devs do not support installing gems via the gem command and directed the |
8 |
> user to use the dev-ruby/ffi package. Unfortnately, that package is |
9 |
> absolutely ancient and unusable. |
10 |
|
11 |
That is correct, we recommend to use our native Gentoo packages when |
12 |
present. |
13 |
|
14 |
If you have a problem with a package, then please file a bug report at |
15 |
https://bugs.gentoo.org/ ffi-0.6.3-r1 should be usable. |
16 |
|
17 |
> Anyway, I've got the ffi library install from portage, but when I try to |
18 |
> `gem install ffi`, I get the output seen in the attachement. |
19 |
|
20 |
Yes, you are trying to install a version of the ffi gem that is not |
21 |
compatible with your ruby version. ffi-0.6.3 is the latest version that |
22 |
reliably works with ruby 1.8. The ffi-1.x series never worked reliably |
23 |
with ruby 1.8, and the latest version have officially removed support for |
24 |
it and only work with ruby 1.9. This is also the reason that ffi-0.6.3 is |
25 |
the latest version in the tree. |
26 |
|
27 |
Kind regards, |
28 |
|
29 |
Hans |