From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Baines Subject: Re: [bug#27438] [PATCH] guix: build: ruby-build-system: Install to the vendor directory Date: Sun, 14 Jan 2018 22:24:17 +0000 Message-ID: <87efmst6y6.fsf@cbaines.net> References: <0c3c92c6-05ca-bb36-2f24-69077033e91f@cbaines.net> <878tkliix9.fsf@gnu.org> <6a666d6f-f2c2-d786-8fda-422ab28867ca@cbaines.net> <20170716183705.18b5025e@cbaines.net> <20170722110630.19b5fce0@cbaines.net> <794765de-67a1-040b-3877-a19bfe83183f@uq.edu.au> <20170805225552.19c95c6d@cbaines.net> <41bc2718-29ea-cf3c-e409-b1f7705b11f1@uq.edu.au> <87shc9tp1i.fsf@cbaines.net> <6dfe3202-85bf-0739-bd12-819f2d6c9e90@uq.edu.au> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34887) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eaqhS-0003SD-Hx for guix-devel@gnu.org; Sun, 14 Jan 2018 17:24:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eaqhP-00017R-Bw for guix-devel@gnu.org; Sun, 14 Jan 2018 17:24:22 -0500 In-reply-to: <6dfe3202-85bf-0739-bd12-819f2d6c9e90@uq.edu.au> 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" To: Ben Woodcroft Cc: guix-devel@gnu.org, 27438-done@debbugs.gnu.org --=-=-= Content-Type: text/plain Ben Woodcroft writes: > 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. Great, I've pushed this along with the other ruby build system change. Thanks for reviewing, Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlpb2JFfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XdLzQ/8CB1OZdM4ZkehHiv4S7OsNltMkZn7U6Tq3x3R2GRXzh0mHrlxxQI12w9/ 0ebAYWXniJ84xEWkmNTSZF9UtKstfqho+2ELBr/zDT9N/FLLwaDKJhl6nPoJoEhR fy/d/7VQLBzqwMo1+O5OiXOrYNubrZOkV7kfh+VyoOOplXM8KEUfCwT//K2AZUzw E88xCX7J8m6iPFzrqdU8OBZZMeHEmltacG4Uh4mQV5xFDDAKST9DQOxDGlcoBSm5 TlFEG7448oX06IYCkftDIfV6+TKiypfI6RHH44esJMfe3cH1/qZbgwK2twgvnfK4 OOhuzMY/cWUpeszQoEgLappXUEYZ9Q4s6kmV5hjIA1fxgHfxkeeb+jIt04K0G7si znDBRKusakZn7KVw23vIdJ/YBqrkO+8K/jQd5vgPowesOnXurteaaegmkOOPRwbW Mt0L21kKjh/DXK1xwlO6tfvavaQNcW/B8ZQ0YoBgOPm9MILCBPeggvZumqyWOKIX spcPr6IQ/njIR04YLU+S1OnD7Ed+Yaj1FVTdYM+MWVvKUNVZ5bjyErc0sAxgsTBo XeLspaZCB3kDJZiLC2eShHVYRipY75IZlQNQed64p2o1nlyP84W7gW1mukhxB7nf BBlzHptm6J591OWQ03aFIWgJW9CdMVaPffYf/E15a5G5IbrTY+8= =GX5b -----END PGP SIGNATURE----- --=-=-=--