From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Thompson Subject: Re: [PATCH] build: ruby: Install executables in /bin. Date: Sat, 28 Feb 2015 15:27:28 -0500 Message-ID: <87lhjh7pe7.fsf@fsf.org> References: <87ioen89ch.fsf@fsf.org> <87ioelizy6.fsf@gnu.org> 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]:43894) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YRnz0-0004Hb-OR for guix-devel@gnu.org; Sat, 28 Feb 2015 15:27:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YRnyz-0005ti-Iz for guix-devel@gnu.org; Sat, 28 Feb 2015 15:27:30 -0500 In-Reply-To: <87ioelizy6.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 =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org Ludovic Court=C3=A8s writes: > David Thompson skribis: > >> From af6a7e03fc6debea314b88d616d035acc1b6ed50 Mon Sep 17 00:00:00 2001 >> From: David Thompson >> Date: Fri, 27 Feb 2015 12:03:20 -0500 >> Subject: [PATCH] build: ruby: Install executables in /bin. >> >> * guix/build/ruby-build-system.scm (install): Add '--bindir' flag to gem >> command. > > Sounds good. > > Do you know what the rationale is for bindir to default to > lib/ruby/gems/X.Y? Parallel-installability? I don't know exactly, but it seems like parallel-installability. Each gem is installed to a directory that corresponds to its name + version, so it would make sense. I also read somewhere that OS X also configures 'gem' to use /usr/local/bin (I think) as the bindir. > That makes the search path specification for $PATH useless, right? Yup. :) --=20 David Thompson Web Developer - Free Software Foundation - http://fsf.org GPG Key: 0FF1D807 Support the FSF: https://fsf.org/donate