Gentoo Archives: gentoo-user

From: kashani <kashani-list@××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: installing ffi gem
Date: Fri, 22 Apr 2011 06:14:27
Message-Id: 4DB11C63.1090908@badapple.net
In Reply to: [gentoo-user] Re: installing ffi gem by Hans de Graaff
1 On 4/21/2011 9:54 PM, Hans de Graaff wrote:
2 > On Thu, 21 Apr 2011 17:33:05 -0700, kashani wrote:
3 >
4 >> Install RVM, make it part of your shell, then install the ruby and gems
5 >> of your choice. That way you leave the system Ruby alone and can develop
6 >> with the versions you want. You can even do multiple versions of ruby
7 >> and various gems for working on many different projects at once.
8 >
9 > Please note that Gentoo also supports multiple ruby implementations out
10 > of the box (ruby 1.8, ruby enterprise edition, jruby currently stable,
11 > ruby 1.9 unfortunately still masked, rubinius forthcoming).
12
13 It's not about which ruby you're installing on the system, really
14 anything other than 1.8.7 as system Ruby is a pain in the ass at this
15 point.
16
17 kashani@gentoo64 ~ $ rvm list
18 rvm rubies
19
20 rbx-head [ ]
21 ree-1.8.7-2011.03 [ x86_64 ]
22 ruby-1.9.2-p180 [ x86_64 ]
23 => ruby-1.8.7-p334 [ x86_64 ]
24
25 Using RVM I can have all version and implementations of Ruby and
26 multiple gem sets per Ruby as well. That way I can work on
27 ruby-1.8.7@rail2 app or switch to ruby-1.92@rails3 which keep the gems
28 separate. Also I avoid breaking the system when doing wacky things in my
29 dev environment.
30
31 kashani

Replies

Subject Author
[gentoo-user] Re: installing ffi gem Hans de Graaff <graaff@g.o>