1 |
Le lundi 11 mai 2009 à 11:14 +0200, Sven Schwyn a écrit : |
2 |
> Hi |
3 |
> |
4 |
> This question popped up while discussing how to deal with Ruby gems |
5 |
> on |
6 |
> Gentoo in a way that gives the user the freedom to choose Portage, |
7 |
> RubyGems or both for gem management. |
8 |
[snip] |
9 |
> If a Ruby gem contains and installs executables, then those are mere |
10 |
> wrappers to a Ruby runner object. As per default, the wrapper will run |
11 |
> the most up-to-date code. You can, however, tell the wrapper to run a |
12 |
> specific code version (e.g. rake _0.7.3_ --version). |
13 |
|
14 |
so this wrapper could be installed in a separate eselect sort of |
15 |
package ? |
16 |
|
17 |
If those kind of wrappers are generic enough, it could even be a single |
18 |
eselect package and gems would enable (symlink to wrapper) themselves at |
19 |
postinst. I'm an eselect n00b but this all sound like something an |
20 |
eselect module could do. |
21 |
|
22 |
-- |
23 |
Gilles Dartiguelongue <eva@g.o> |
24 |
Gentoo |