guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] build: ruby: Set $GEM_HOME that matches Ruby's $GEM_PATH.


From: Ludovic Courtès
Subject: Re: [PATCH] build: ruby: Set $GEM_HOME that matches Ruby's $GEM_PATH.
Date: Mon, 09 Mar 2015 23:14:15 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

David Thompson <address@hidden> 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 <address@hidden>
> 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 version
>   when creating $GEM_HOME.

Sure, please push.

Thanks,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]