Pjotr Prins <pjotr.publi...@thebird.nl> 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’.