From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS4713 221.184.0.0/13 X-Spam-Status: No, score=-2.3 required=3.0 tests=AWL,BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by dcvr.yhbt.net (Postfix) with ESMTP id 6CBF820248 for ; Fri, 22 Mar 2019 15:32:54 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 03F0C121895; Sat, 23 Mar 2019 00:32:50 +0900 (JST) Received: from o1678916x28.outbound-mail.sendgrid.net (o1678916x28.outbound-mail.sendgrid.net [167.89.16.28]) by neon.ruby-lang.org (Postfix) with ESMTPS id A2757120E19 for ; Sat, 23 Mar 2019 00:32:46 +0900 (JST) Received: by filter0024p3iad2.sendgrid.net with SMTP id filter0024p3iad2-5464-5C95001D-23 2019-03-22 15:32:45.400062614 +0000 UTC m=+333579.043069579 Received: from herokuapp.com (unknown [54.158.50.190]) by ismtpd0002p1iad2.sendgrid.net (SG) with ESMTP id 0sVL8uw7RfyQRkZtNMCcWg for ; Fri, 22 Mar 2019 15:32:45.334 +0000 (UTC) Date: Fri, 22 Mar 2019 15:32:45 +0000 (UTC) From: v.ondruch@tiscali.cz Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 67425 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 15610 X-Redmine-Issue-Author: deivid X-Redmine-Issue-Assignee: hsbt X-Redmine-Sender: vo.x X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-SG-EID: =?us-ascii?Q?mWhqNvD1xlBozk4zn6CTHlnSPHlTKkyHJdiOH=2FzC52jK=2FiKx1CqLrz9wgGy0r=2F?= =?us-ascii?Q?sh3JrMrosWiJMO3GIo7zd=2FDGIInQEKD0Joy7CGY?= =?us-ascii?Q?ZMkm+=2F0xC1A95X6Ri4vHk8BupvxlZ48i5lKOcPc?= =?us-ascii?Q?CQn6dFkWDzH5D5jcJDggDRsLoK=2FQEqeZBZeNMfZ?= =?us-ascii?Q?qQEzMFuxVLMA47R5dxDcsTbsefW=2FwYoaNZg=3D=3D?= To: ruby-core@ruby-lang.org X-ML-Name: ruby-core X-Mail-Count: 91938 Subject: [ruby-core:91938] [Ruby trunk Misc#15610] Could bundler & rubygems be shipped in site_ruby? X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" Issue #15610 has been updated by vo.x (Vit Ondruch). Just for completeness, this is my proposal: https://bugs.ruby-lang.org/issues/5617 ---------------------------------------- Misc #15610: Could bundler & rubygems be shipped in site_ruby? https://bugs.ruby-lang.org/issues/15610#change-77270 * Author: deivid (David Rodr=EDguez) * Status: Rejected * Priority: Normal * Assignee: hsbt (Hiroshi SHIBATA) ---------------------------------------- Currently bundler & rubygems are shipped together with the rest of the stan= dard library (in `RbConfig::CONFIG["rubylibdir"]`). The fact that they shar= e their folder with the rest of the standard library has caused some issues= that wouldn't have happened if they were isolated. For example, https://bu= gs.ruby-lang.org/issues/15469 or https://github.com/rubygems/rubygems/issue= s/2188. Also, when you run `gem update --system`, rubygems installs a copy of itsel= f and bundler in site_ruby, so you currently end up with two copies of diff= erent versions of bundler and rubygems in different folders of the $LOAD_PA= TH. @hsbt has fixed the above issues with a patch to bundler in https://github.= com/bundler/bundler/pull/6941, but I still wonder whether it could be clean= er to ship them in site_ruby directly, so that `gem update --system` overwr= ites them and you always have a single default copy of both rubygems and bu= ndler. Maybe this wouldn't be a good usage of site_ruby, and it's better to keep t= hings as they are, but I figured I could ask ruby-core about it. Thanks for what you do! -- = https://bugs.ruby-lang.org/ Unsubscribe: