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=-3.9 required=3.0 tests=AWL,BAYES_00, 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 9DA271F453 for ; Fri, 1 Feb 2019 13:21:31 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 771C4121DA1; Fri, 1 Feb 2019 22:21:27 +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 95EA1120AA8 for ; Fri, 1 Feb 2019 22:21:24 +0900 (JST) Received: by filter0098p3las1.sendgrid.net with SMTP id filter0098p3las1-25883-5C5447D1-3B 2019-02-01 13:21:21.610592791 +0000 UTC m=+150822.396241664 Received: from herokuapp.com (ec2-50-16-89-244.compute-1.amazonaws.com [50.16.89.244]) by ismtpd0001p1iad2.sendgrid.net (SG) with ESMTP id LtsiDWasT76IwRrFwVeGaA for ; Fri, 01 Feb 2019 13:21:21.384 +0000 (UTC) Date: Fri, 01 Feb 2019 13:21:22 +0000 (UTC) From: hsbt@ruby-lang.org To: ruby-core@ruby-lang.org Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 66830 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 15582 X-Redmine-Issue-Author: mame X-Redmine-Issue-Assignee: hsbt X-Redmine-Sender: hsbt 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: ync6xU2WACa70kv/Ymy4QrNMhiuLXJG8OTL2vJD1yS5ES7TKQygUgIbYPPZi9jO1kAEISkneNbLbvp 54So2u0YANRbFxcvNAiPXssHr9q68XM1OSBdBct3snn6dnfbJZS0h+QZOm+3KyMTsRm5VAtb6p7mj6 24Si+aZ1IQMiYYxo2Bt8mDyjcj8cDC9kSNVnFeSyAXkhXzpOwbd1/wHswQ== X-ML-Name: ruby-core X-Mail-Count: 91375 Subject: [ruby-core:91375] [Ruby trunk Bug#15582] default/bundler-1.17.2.gemspec has no file list 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="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" Issue #15582 has been updated by hsbt (Hiroshi SHIBATA). File 15582-bundler-gemspec.patch added Thanks, I forgot to apply to move gemspec location for FileCollector of rbinstall.rb related r66913. I attached the patch for this issue. ---------------------------------------- Bug #15582: default/bundler-1.17.2.gemspec has no file list https://bugs.ruby-lang.org/issues/15582#change-76629 * Author: mame (Yusuke Endoh) * Status: Assigned * Priority: Normal * Assignee: hsbt (Hiroshi SHIBATA) * Target version: * ruby -v: ruby 2.6.1p33 (2019-01-30 revision 66950) [x86_64-linux] * Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: REQUIRED ---------------------------------------- Ruby 2.6.1's *prefix*/lib/ruby/gems/2.6.0/specifications/default/bundler-1.17.2.gemspec seems wrong. ``` s.files = ["bundler.rb".freeze, "exe/bundle".freeze, "exe/bundler".freeze] ``` It should have "bundler/setup.rb", "bundler/version.rb", etc. This causes a trouble depending upon the order of `require` when a different version of bundler is installed: ``` $ gem list bundler *** LOCAL GEMS *** bundler (1.17.3, default: 1.17.2) $ ruby -e 'require "bundler/version"; require "bundler"; p Bundler::VERSION' "1.17.2" $ ruby -e 'require "bundler"; require "bundler/version"; p Bundler::VERSION' "1.17.3" ``` ---Files-------------------------------- 15582-bundler-gemspec.patch (5.17 KB) -- https://bugs.ruby-lang.org/