From: Ben Woodcroft <b.woodcroft@uq.edu.au>
To: Christopher Baines <mail@cbaines.net>, 27438@debbugs.gnu.org
Cc: guix-devel@gnu.org
Subject: Re: [bug#27438] [PATCH] guix: build: ruby-build-system: Install to the vendor directory
Date: Fri, 12 Jan 2018 17:17:31 +1000 [thread overview]
Message-ID: <6dfe3202-85bf-0739-bd12-819f2d6c9e90@uq.edu.au> (raw)
In-Reply-To: <87shc9tp1i.fsf@cbaines.net>
Hi Chris,
On 18/12/17 00:19, Christopher Baines wrote:
> Hey,
>
> It's been a while since I looked at this, but I think it's still
> relevant.
>
> As a reminder, currently the search paths for the Ruby packages in Guix
> are a bit off [1], which makes it difficult to use Ruby gems with
> different versions of Ruby.
>
> Rubygems by default installs gems to directories specific to the version
> of Ruby, and this can be helpful when managing multiple versions of Ruby
> and different sets of gem packages in a shared directory, but with Guix,
> this isn't necessary, as the store can be used.
>
> Ruby/Rubygems supports installing gems in to a vendor directory, which
> is for gems installed by the package system [2]. While Guix blurs the
> lines between the "package system" and the "user", using this vendor
> directory might come in useful.
>
> I've attached an updated patch, and successfully built every Ruby
> package [3], as well as all of the packages that were changed in the
> patch. The only failure was ruby-pg, which failed to build before this
> patch.
>
> Ideally when using specific versions of ruby, any gems that need to be
> build with that version of ruby, would be. While this change doesn't do
> that, it does simplify the search paths of ruby packages and the
> packages for ruby gems.
>
> Reading the bug report again, I think there was nearly consensus about
> merging this, but I wanted to check if anyone has any comments or
> experience with Ruby/Rubygems before merging this?
I think go ahead with this one. It will be useful particularly when we
update ruby to 2.5.
ben
next prev parent reply other threads:[~2018-01-12 7:17 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-21 6:36 [bug#27438] [PATCH] Specify native search path for all ruby packages Christopher Baines
2017-06-21 6:38 ` [bug#27438] [PATCH 1/3] gnu: ruby-1.8: Fix search path specification Christopher Baines
2017-06-21 6:38 ` [bug#27438] [PATCH 2/3] gnu: ruby-2.2: " Christopher Baines
2017-06-21 6:38 ` [bug#27438] [PATCH 3/3] gnu: ruby-2.3: " Christopher Baines
2017-06-21 11:47 ` [bug#27438] [PATCH] Specify native search path for all ruby packages Ben Woodcroft
2017-06-21 13:12 ` Ludovic Courtès
2017-06-22 5:27 ` Ben Woodcroft
2017-06-22 5:40 ` Christopher Baines
2017-07-16 17:37 ` Christopher Baines
2017-07-16 17:40 ` [bug#27438] [PATCH] guix: build: ruby-build-system: Install to the vendor directory Christopher Baines
2017-07-19 23:39 ` [bug#27438] [PATCH] Specify native search path for all ruby packages Ben Woodcroft
2017-07-22 10:06 ` Christopher Baines
2017-08-05 3:59 ` Ben Woodcroft
2017-08-05 21:55 ` Christopher Baines
2017-08-06 7:17 ` Ben Woodcroft
2017-12-17 14:19 ` [bug#27438] [PATCH] guix: build: ruby-build-system: Install to the vendor directory Christopher Baines
2018-01-12 7:17 ` Ben Woodcroft [this message]
2018-01-14 22:24 ` Christopher Baines
2017-06-21 13:10 ` [bug#27438] [PATCH] Specify native search path for all ruby packages Ludovic Courtès
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6dfe3202-85bf-0739-bd12-819f2d6c9e90@uq.edu.au \
--to=b.woodcroft@uq.edu.au \
--cc=27438@debbugs.gnu.org \
--cc=guix-devel@gnu.org \
--cc=mail@cbaines.net \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.