1 |
On Thu, Apr 21, 2011 at 05:33:05PM -0700, kashani wrote: |
2 |
> On 4/21/2011 4:57 PM, Matt Harrison wrote: |
3 |
> > I've just tried setting up a new development machine and I'm stuck installing the ffi |
4 |
> > gem for ruby. |
5 |
> > |
6 |
> > According to a bug I found (can't find it now I'm afraid) the gentoo devs do not |
7 |
> > support installing gems via the gem command and directed the user to use the |
8 |
> > dev-ruby/ffi package. Unfortnately, that package is absolutely ancient and unusable. |
9 |
> > |
10 |
> > Anyway, I've got the ffi library install from portage, but when I try to `gem install |
11 |
> > ffi`, I get the output seen in the attachement. |
12 |
> > |
13 |
> > The same gem installs just fine on an ubuntu box, but...well it's ubuntu and I don't |
14 |
> > want to use that (besides it's just a VM). |
15 |
> > |
16 |
> > I'd really like to get this fixed so I can get started on a new project. |
17 |
> > |
18 |
> > Grateful for any help |
19 |
> > |
20 |
> > Matt |
21 |
> |
22 |
> Install RVM, make it part of your shell, then install the ruby and gems |
23 |
> of your choice. That way you leave the system Ruby alone and can develop |
24 |
> with the versions you want. You can even do multiple versions of ruby |
25 |
> and various gems for working on many different projects at once. |
26 |
> |
27 |
> https://rvm.beginrescueend.com/rvm/install/ |
28 |
> |
29 |
> It really is the simplest way to build a dev environment and maintain |
30 |
> it for Ruby. |
31 |
> |
32 |
> kashani |
33 |
|
34 |
Thanks Alan and kashani, |
35 |
|
36 |
I'll take a look at both, if I can't find anything on his blog I'll give RVM a go :) |
37 |
|
38 |
Thanks guys |