From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] build: ruby: Set $GEM_HOME that matches Ruby's $GEM_PATH. Date: Mon, 09 Mar 2015 23:14:15 +0100 Message-ID: <87pp8hq0nc.fsf@gnu.org> References: <874mpw4bbt.fsf@fsf.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]:53687) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YV5wM-0007E5-AQ for guix-devel@gnu.org; Mon, 09 Mar 2015 18:14:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YV5wI-0000us-5P for guix-devel@gnu.org; Mon, 09 Mar 2015 18:14:22 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47722) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YV5wI-0000uo-2o for guix-devel@gnu.org; Mon, 09 Mar 2015 18:14:18 -0400 In-Reply-To: <874mpw4bbt.fsf@fsf.org> (David Thompson's message of "Sat, 07 Mar 2015 18:49:58 -0500") 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: David Thompson Cc: guix-devel@gnu.org David Thompson skribis: > Ruby's native search path for $GEM_PATH looks like > "/lib/ruby/gems/2.2.0", where the version number at the end is formed by > the major + minor version of our Ruby package followed a ".0", ignoring > the patch version. However, the Ruby build system was installing gems > into places like "/lib/ruby/gems/2.2.1", using the patch version from > the Ruby used when building. Because of this, the search path suggested > by 'guix package --search-paths' was useless. This patch fixes that. > > > From c616752342336a1018366d1293621e5a29f72587 Mon Sep 17 00:00:00 2001 > From: David Thompson > Date: Sat, 7 Mar 2015 18:36:13 -0500 > Subject: [PATCH] build: ruby: Set $GEM_HOME that matches Ruby's $GEM_PATH. > > * guix/build/ruby-build-system.scm (install): Ignore the Ruby patch versi= on > when creating $GEM_HOME. Sure, please push. Thanks, Ludo=E2=80=99.