* [ruby-core:91374] [Ruby trunk Bug#15582] default/bundler-1.17.2.gemspec has no file list
[not found] <redmine.issue-15582.20190201123952@ruby-lang.org>
@ 2019-02-01 12:39 ` mame
2019-02-01 13:21 ` [ruby-core:91375] " hsbt
` (5 subsequent siblings)
6 siblings, 0 replies; 7+ messages in thread
From: mame @ 2019-02-01 12:39 UTC (permalink / raw)
To: ruby-core
Issue #15582 has been reported by mame (Yusuke Endoh).
----------------------------------------
Bug #15582: default/bundler-1.17.2.gemspec has no file list
https://bugs.ruby-lang.org/issues/15582
* 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"
```
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
* [ruby-core:91375] [Ruby trunk Bug#15582] default/bundler-1.17.2.gemspec has no file list
[not found] <redmine.issue-15582.20190201123952@ruby-lang.org>
2019-02-01 12:39 ` [ruby-core:91374] [Ruby trunk Bug#15582] default/bundler-1.17.2.gemspec has no file list mame
@ 2019-02-01 13:21 ` hsbt
2019-02-01 13:23 ` [ruby-core:91376] " hsbt
` (4 subsequent siblings)
6 siblings, 0 replies; 7+ messages in thread
From: hsbt @ 2019-02-01 13:21 UTC (permalink / raw)
To: 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/
^ permalink raw reply [flat|nested] 7+ messages in thread
* [ruby-core:91376] [Ruby trunk Bug#15582] default/bundler-1.17.2.gemspec has no file list
[not found] <redmine.issue-15582.20190201123952@ruby-lang.org>
2019-02-01 12:39 ` [ruby-core:91374] [Ruby trunk Bug#15582] default/bundler-1.17.2.gemspec has no file list mame
2019-02-01 13:21 ` [ruby-core:91375] " hsbt
@ 2019-02-01 13:23 ` hsbt
2019-02-12 2:20 ` [ruby-core:91513] [Ruby trunk Bug#15582] default/bundler-1.17.2.gemspec has no filelist mame
` (3 subsequent siblings)
6 siblings, 0 replies; 7+ messages in thread
From: hsbt @ 2019-02-01 13:23 UTC (permalink / raw)
To: 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/
^ permalink raw reply [flat|nested] 7+ messages in thread
* [ruby-core:91513] [Ruby trunk Bug#15582] default/bundler-1.17.2.gemspec has no filelist
[not found] <redmine.issue-15582.20190201123952@ruby-lang.org>
` (2 preceding siblings ...)
2019-02-01 13:23 ` [ruby-core:91376] " hsbt
@ 2019-02-12 2:20 ` mame
2019-02-13 16:09 ` [ruby-core:91532] [Ruby trunk Bug#15582] default/bundler-1.17.2.gemspec has no file list deivid.rodriguez
` (2 subsequent siblings)
6 siblings, 0 replies; 7+ messages in thread
From: mame @ 2019-02-12 2:20 UTC (permalink / raw)
To: ruby-core
Issue #15582 has been updated by mame (Yusuke Endoh).
FYI: I've heard that we can work around this issue by `gem update --system`.
----------------------------------------
Bug #15582: default/bundler-1.17.2.gemspec has no file list
https://bugs.ruby-lang.org/issues/15582#change-76773
* Author: mame (Yusuke Endoh)
* Status: Closed
* 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: DONTNEED, 2.5: DONTNEED, 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/
^ permalink raw reply [flat|nested] 7+ messages in thread
* [ruby-core:91532] [Ruby trunk Bug#15582] default/bundler-1.17.2.gemspec has no file list
[not found] <redmine.issue-15582.20190201123952@ruby-lang.org>
` (3 preceding siblings ...)
2019-02-12 2:20 ` [ruby-core:91513] [Ruby trunk Bug#15582] default/bundler-1.17.2.gemspec has no filelist mame
@ 2019-02-13 16:09 ` deivid.rodriguez
2019-03-06 8:53 ` [ruby-core:91696] " naruse
2019-03-14 17:21 ` [ruby-core:91834] " deivid.rodriguez
6 siblings, 0 replies; 7+ messages in thread
From: deivid.rodriguez @ 2019-02-13 16:09 UTC (permalink / raw)
To: ruby-core
Issue #15582 has been updated by deivid (David Rodríguez).
Yes, since rubygems 2.6.1 ships with rubygems 3.0.1, running `gem update --system` will update to the latest version (3.0.2) and force reinstallation of the default bundler gem.
However, I have noticed that other default gems suffer from this issue, for example the `etc` gem. In that case, a workaround is to reinstall the same version of the default gem, for example, `gem install etc:1.0.1 --default`.
----------------------------------------
Bug #15582: default/bundler-1.17.2.gemspec has no file list
https://bugs.ruby-lang.org/issues/15582#change-76791
* Author: mame (Yusuke Endoh)
* Status: Closed
* 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: DONTNEED, 2.5: DONTNEED, 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/
^ permalink raw reply [flat|nested] 7+ messages in thread
* [ruby-core:91696] [Ruby trunk Bug#15582] default/bundler-1.17.2.gemspec has no file list
[not found] <redmine.issue-15582.20190201123952@ruby-lang.org>
` (4 preceding siblings ...)
2019-02-13 16:09 ` [ruby-core:91532] [Ruby trunk Bug#15582] default/bundler-1.17.2.gemspec has no file list deivid.rodriguez
@ 2019-03-06 8:53 ` naruse
2019-03-14 17:21 ` [ruby-core:91834] " deivid.rodriguez
6 siblings, 0 replies; 7+ messages in thread
From: naruse @ 2019-03-06 8:53 UTC (permalink / raw)
To: ruby-core
Issue #15582 has been updated by naruse (Yui NARUSE).
Backport changed from 2.4: DONTNEED, 2.5: DONTNEED, 2.6: REQUIRED to 2.4: DONTNEED, 2.5: DONTNEED, 2.6: DONE
ruby_2_6 r67180 merged revision(s) 66984.
----------------------------------------
Bug #15582: default/bundler-1.17.2.gemspec has no file list
https://bugs.ruby-lang.org/issues/15582#change-76961
* Author: mame (Yusuke Endoh)
* Status: Closed
* 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: DONTNEED, 2.5: DONTNEED, 2.6: DONE
----------------------------------------
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/
^ permalink raw reply [flat|nested] 7+ messages in thread
* [ruby-core:91834] [Ruby trunk Bug#15582] default/bundler-1.17.2.gemspec has no file list
[not found] <redmine.issue-15582.20190201123952@ruby-lang.org>
` (5 preceding siblings ...)
2019-03-06 8:53 ` [ruby-core:91696] " naruse
@ 2019-03-14 17:21 ` deivid.rodriguez
6 siblings, 0 replies; 7+ messages in thread
From: deivid.rodriguez @ 2019-03-14 17:21 UTC (permalink / raw)
To: ruby-core
Issue #15582 has been updated by deivid (David Rodríguez).
Hi @hsbt!
I assumed this fix would also fix the incorrect file list for the etc gem's gemspec but I didn't try it and it looks like it didn't actually. On a the default ruby 2.6.2 release, the file list is `["etc.so", "ext/etc/extconf.rb"]`. If I force reinstallation as a default gem, it becomes `[".gitignore".freeze, ".travis.yml".freeze, "Gemfile".freeze, "LICENSE.txt".freeze, "README.md".freeze, "Rakefile".freeze, "bin/console".freeze, "bin/setup".freeze, "etc.gemspec".freeze, "ext/etc/etc.c".freeze, "ext/etc/extconf.rb".freeze, "ext/etc/mkconstants.rb".freeze, "test/etc/test_etc.rb".freeze]`.
This causes some spec failures on bundler's test suite.
Thanks!
----------------------------------------
Bug #15582: default/bundler-1.17.2.gemspec has no file list
https://bugs.ruby-lang.org/issues/15582#change-77104
* Author: mame (Yusuke Endoh)
* Status: Closed
* 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: DONTNEED, 2.5: DONTNEED, 2.6: DONE
----------------------------------------
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/
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2019-03-14 17:22 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <redmine.issue-15582.20190201123952@ruby-lang.org>
2019-02-01 12:39 ` [ruby-core:91374] [Ruby trunk Bug#15582] default/bundler-1.17.2.gemspec has no file list mame
2019-02-01 13:21 ` [ruby-core:91375] " hsbt
2019-02-01 13:23 ` [ruby-core:91376] " hsbt
2019-02-12 2:20 ` [ruby-core:91513] [Ruby trunk Bug#15582] default/bundler-1.17.2.gemspec has no filelist mame
2019-02-13 16:09 ` [ruby-core:91532] [Ruby trunk Bug#15582] default/bundler-1.17.2.gemspec has no file list deivid.rodriguez
2019-03-06 8:53 ` [ruby-core:91696] " naruse
2019-03-14 17:21 ` [ruby-core:91834] " deivid.rodriguez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).