Project

General

Profile

Actions

Bug #15582

closed

default/bundler-1.17.2.gemspec has no file list

Added by mame (Yusuke Endoh) about 5 years ago. Updated about 5 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 2.6.1p33 (2019-01-30 revision 66950) [x86_64-linux]
[ruby-core:91374]

Description

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) 15582-bundler-gemspec.patch hsbt (Hiroshi SHIBATA), 02/01/2019 01:18 PM

Related issues 2 (0 open2 closed)

Has duplicate Ruby master - Bug #15586: Requiring `bundler/setup` gets wrong versionClosedActions
Has duplicate Ruby master - Bug #15622: Default version of Bundler incorrectly invoked when using binstubs Rejectedhsbt (Hiroshi SHIBATA)Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0