[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ruby gems in user land ($HOME)
From: |
Ludovic Courtès |
Subject: |
Re: Ruby gems in user land ($HOME) |
Date: |
Mon, 27 Oct 2014 17:27:15 +0100 |
User-agent: |
Gnus/5.130011 (Ma Gnus v0.11) Emacs/24.3 (gnu/linux) |
Pjotr Prins <address@hidden> skribis:
> On Mon, Oct 27, 2014 at 10:23:19AM +0100, Ludovic Courtès wrote:
>> > export
>> > GEM_PATH=/home/wrk/.gem/ziy7a6zib846426kprc7fgimggh8bz97-ruby-2.1.3/2.1.0
>> >
>> > export GEM_HOME=$GEM_PATH
>> >
>> > export
>> > GEM_SPEC_CACHE=/home/wrk/.gem/ziy7a6zib846426kprc7fgimggh8bz97-ruby-2.1.3/specs
>> >
>>
>> I suspect this won???t be very convenient. ;-) I???m not sure what can be
>> done to help.
>
> Patching ruby in a few places would be enough. Alternatively have a
> wrapper script that sets these default values, unless they already are
> defined. Would you accept such patches?
In general, I think it’s better to avoid diverging from upstream, so I’d
rather not patch Ruby itself.
As for a wrapper, I don’t know, but it doesn’t sound very nice either.
But really, the best thing to work on would be Gems as Guix packages.
:-)
Ludo’.