From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Ruby gems in user land ($HOME) Date: Mon, 27 Oct 2014 17:27:15 +0100 Message-ID: <87mw8hzdek.fsf@gnu.org> References: <20141027063822.GA22939@thebird.nl> <87sii9988o.fsf@gnu.org> <20141027135518.GB24590@thebird.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42603) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xin8H-00031p-L9 for guix-devel@gnu.org; Mon, 27 Oct 2014 12:27:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xin8C-0003Pg-05 for guix-devel@gnu.org; Mon, 27 Oct 2014 12:27:01 -0400 Received: from hera.aquilenet.fr ([2a01:474::1]:42529) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xin8B-0003Pc-Og for guix-devel@gnu.org; Mon, 27 Oct 2014 12:26:55 -0400 In-Reply-To: <20141027135518.GB24590@thebird.nl> (Pjotr Prins's message of "Mon, 27 Oct 2014 14:55:18 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Pjotr Prins Cc: guix-devel@gnu.org Pjotr Prins skribis: > On Mon, Oct 27, 2014 at 10:23:19AM +0100, Ludovic Court=C3=A8s wrote: >> > export GEM_PATH=3D/home/wrk/.gem/ziy7a6zib846426kprc7fgimggh8bz97-ruby= -2.1.3/2.1.0=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 >> > export GEM_HOME=3D$GEM_PATH=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 >> > export GEM_SPEC_CACHE=3D/home/wrk/.gem/ziy7a6zib846426kprc7fgimggh8bz9= 7-ruby-2.1.3/specs=20=20=20=20=20=20=20=20=20=20=20=20=20=20 >>=20 >> 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=E2=80=99s better to avoid diverging from upstream, s= o I=E2=80=99d rather not patch Ruby itself. As for a wrapper, I don=E2=80=99t know, but it doesn=E2=80=99t sound very n= ice either. But really, the best thing to work on would be Gems as Guix packages. :-) Ludo=E2=80=99.