Gentoo Archives: gentoo-user

From: Stephen Reynolds <stev.john.reynolds@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: dev-ruby/json-1.8.0
Date: Sun, 08 Jun 2014 08:26:10
Message-Id: CANbdgKgAz5OThV1Sz76KyhmYCD96qubEyJDoLNLvpYNefhAadg@mail.gmail.com
In Reply to: [gentoo-user] Re: dev-ruby/json-1.8.0 by walt
1 This is what I have.
2
3 stephen #grep RUBY /etc/portage/make.conf
4 RUBY_TARGETS="ruby20"
5
6 stephen # ls -l /usr/bin/rdoc
7 lrwxrwxrwx 1 root root 6 Jun 6 20:13 /usr/bin/rdoc -> rdoc20
8
9 stephen # eselect ruby list
10 Available Ruby profiles:
11 [1] ruby19 (with Rubygems)
12 [2] ruby20 (with Rubygems) *
13
14 Regards
15
16
17
18 On Sun, Jun 8, 2014 at 2:20 AM, walt <w41ter@×××××.com> wrote:
19
20 > On 06/07/2014 12:56 AM, Hans de Graaff wrote:
21 > > On Fri, 06 Jun 2014 15:47:38 -0700, walt wrote:
22 > >
23 > >> Is all of the above familiar to you? If not, you may need more help
24 > >> with managing multiple ruby versions. I find it a large PITA and I
25 > >> could use more help myself :)
26 > >
27 > > Could you explain what bothers you or where you would need help?
28 >
29 > Hi Hans. The annoying problems occur when updating ruby-related packages.
30 >
31 > For example, I (want to) use only ruby19:
32 >
33 > #grep RUBY /etc/portage/make.conf
34 > RUBY_TARGETS="ruby19"
35 >
36 > In spite of that, portage often insists on installing other versions of
37 > ruby, rdoc, rubygems, and you already know the others.
38 >
39 > AFAICT, the other versions of ruby are dragged in by old ruby packages
40 > that were installed before I started using "RUBY_TARGETS" (because I
41 > didn't yet know about RUBY_TARGETS),
42 >
43 > I discovered all of this by grepping for ruby in /var/db/pkg but it
44 > took me a long time to get it sorted out, and I don't expect that a
45 > gentoo beginner could do it. (OTOH maybe a gentoo beginner wouldn't
46 > care about installing multiple ruby versions :)
47 >
48 > Thanks for taking the time to read gentoo.user and even more thanks
49 > for being a gentoo dev :)
50 >
51 >
52 >
53 >
54 >
55 >