unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Pjotr Prins <pjotr.public12@thebird.nl>
Cc: guix-devel@gnu.org
Subject: Re: Ruby gems in user land ($HOME)
Date: Mon, 27 Oct 2014 17:27:15 +0100	[thread overview]
Message-ID: <87mw8hzdek.fsf@gnu.org> (raw)
In-Reply-To: <20141027135518.GB24590@thebird.nl> (Pjotr Prins's message of "Mon, 27 Oct 2014 14:55:18 +0100")

Pjotr Prins <pjotr.public12@thebird.nl> skribis:

> On Mon, Oct 27, 2014 at 10:23:19AM +0100, Ludovic Courtès wrote:
>> > export GEM_PATH=/home/wrk/.gem/ziy7a6zib846426kprc7fgimggh8bz97-ruby-2.1.3/2.1.0                    
>> > export GEM_HOME=$GEM_PATH                                                                           
>> > export GEM_SPEC_CACHE=/home/wrk/.gem/ziy7a6zib846426kprc7fgimggh8bz97-ruby-2.1.3/specs              
>> 
>> I suspect this won???t be very convenient.  ;-)  I???m not sure what can be
>> done to help.
>
> Patching ruby in a few places would be enough. Alternatively have a
> wrapper script that sets these default values, unless they already are
> defined. Would you accept such patches?

In general, I think it’s better to avoid diverging from upstream, so I’d
rather not patch Ruby itself.

As for a wrapper, I don’t know, but it doesn’t sound very nice either.
But really, the best thing to work on would be Gems as Guix packages.
:-)

Ludo’.

      reply	other threads:[~2014-10-27 16:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-27  6:38 Ruby gems in user land ($HOME) Pjotr Prins
2014-10-27  9:23 ` Ludovic Courtès
2014-10-27 13:55   ` Pjotr Prins
2014-10-27 16:27     ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mw8hzdek.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=pjotr.public12@thebird.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).