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=-4.0 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 3CE761F453 for ; Fri, 1 Feb 2019 13:23:11 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id A8F92121F1C; Fri, 1 Feb 2019 22:23:08 +0900 (JST) Received: from o1678948x4.outbound-mail.sendgrid.net (o1678948x4.outbound-mail.sendgrid.net [167.89.48.4]) by neon.ruby-lang.org (Postfix) with ESMTPS id 2081A121F1C for ; Fri, 1 Feb 2019 22:23:06 +0900 (JST) Received: by filter0144p3las1.sendgrid.net with SMTP id filter0144p3las1-6427-5C544837-14 2019-02-01 13:23:03.789415943 +0000 UTC m=+150944.218070649 Received: from herokuapp.com (ec2-50-16-89-244.compute-1.amazonaws.com [50.16.89.244]) by ismtpd0050p1iad1.sendgrid.net (SG) with ESMTP id OKVwC-ZiQkWKh63W9y0OZw for ; Fri, 01 Feb 2019 13:23:03.657 +0000 (UTC) Date: Fri, 01 Feb 2019 13:23:04 +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: 66831 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/Ymy4QrNMhiuLXJG8OTL2vJD1yS5Ig8THJQhKAjFXZy0G+TlYIMmYyz6AvZ7Q3X 3dlaixf+HbLIH1Ioy75955Y5iGkvv2+XDoMKphEoMXjG+teyZKuFB713rezi2/FIvdCv9KJfwl8nYc rlq80FYlQEjipDuJzTaKsEIozhIYhj/5ytsIacbDkRmYFiaPL2Jq99Nw+Q== X-ML-Name: ruby-core X-Mail-Count: 91376 Subject: [ruby-core:91376] [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). If you use rbenv and ruby-build, You can build 2.6.1 with this patch like this. ``` curl -sSL https://bugs.ruby-lang.org/attachments/download/7631/15582-bundler-gemspec.patch | rbenv install --patch 2.6.1 -f ``` ---------------------------------------- Bug #15582: default/bundler-1.17.2.gemspec has no file list https://bugs.ruby-lang.org/issues/15582#change-76630 * 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/