[Top][All Lists]

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

[bug#27438] [PATCH] Specify native search path for all ruby packages

From: Ben Woodcroft
Subject: [bug#27438] [PATCH] Specify native search path for all ruby packages
Date: Wed, 21 Jun 2017 21:47:54 +1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1

Hi Chris,

On 21/06/17 16:36, Christopher Baines wrote:
Without specifying this explicitly in each definition, the GEM_PATH is
inherited and the version is that of the inherited package.

I'm not sure if this is by design, but the version of the gems folder is embedded in the build of each rubygem e.g. 'ruby-hoe' includes

So, in this environment, "require 'hoe'" fails after applying your patch
./pre-inst-env guix environment -C --ad-hoc address@hidden ruby-hoe

Having said that, the gems bundled with each ruby are in a directory with the actual version e.g. address@hidden has this path

This isn't ideal, any ideas on what we should do? Specify both paths maybe?

reply via email to

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