From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pjotr Prins Subject: Re: guix environment Date: Tue, 16 Jun 2015 16:39:06 +0200 Message-ID: <20150616143906.GA26344@thebird.nl> References: <20150615065554.GA17263@thebird.nl> <20150615191006.GA21528@thebird.nl> <20150616055247.GA23591@thebird.nl> <87lhfkytfx.fsf@gnu.org> <20150616100446.GA25031@thebird.nl> <87zj3zx5g4.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37473) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4s1m-0005Fq-23 for guix-devel@gnu.org; Tue, 16 Jun 2015 10:39:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z4s1d-0003qa-9D for guix-devel@gnu.org; Tue, 16 Jun 2015 10:39:50 -0400 Content-Disposition: inline In-Reply-To: <87zj3zx5g4.fsf@gnu.org> 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: Ludovic =?iso-8859-1?Q?Court=E8s?= Cc: guix-devel On Tue, Jun 16, 2015 at 01:23:23PM +0200, Ludovic Court=E8s wrote: > > On Debian it is > > > > - INSTALLATION DIRECTORY: /var/lib/gems/1.9.1 > > > > (so, by default, you need sudo to run gem) > > > > My proposal is to have it user based and isolated, e.g., > > > > - INSTALLATION DIRECTORY: $HOME/.gem/c13v73jxmj2nir2xjqaz5259zyws= a9zi-ruby-2.1.6/2.1.0 >=20 > I suppose this would require patching Ruby, but why not. >=20 > Another option would be to do like Debian, which is presumably what > upstream intended, and which boils down to configuring Ruby with > --localstatedir=3D/var or similar. I prefer defaulting to $HOME. It is easier to teach a sysadmin different then an end-user ;) This way gems will work out-of-the-box. Pj.