ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:77284] [Ruby trunk Bug#12764] rubygems with multi default gem problem
       [not found] <redmine.issue-12764.20160915133124@ruby-lang.org>
@ 2016-09-15 13:31 ` zn
  2018-07-26  2:12 ` [ruby-core:88113] [Ruby trunk Bug#12764][Assigned] " hsbt
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 4+ messages in thread
From: zn @ 2016-09-15 13:31 UTC (permalink / raw
  To: ruby-core

Issue #12764 has been reported by Kazuhiro NISHIYAMA.

----------------------------------------
Bug #12764: rubygems with multi default gem problem
https://bugs.ruby-lang.org/issues/12764

* Author: Kazuhiro NISHIYAMA
* Status: Open
* Priority: Normal
* Assignee: 
* ruby -v: trunk
* Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
----------------------------------------
This issue may affect Ruby committers only.
This does not probably affect released ruby.

With development ruby, `make install` many times.
After them, default gems are duplicated when exists updated.
And gem with old version in Gemfile does not work well.

Example:

```
% gem list rdoc

*** LOCAL GEMS ***

rdoc (default: 5.0.0.beta2, default: 4.2.1)
% cat Gemfile
# frozen_string_literal: true
source "https://rubygems.org"

# gem "rails"
gem 'rdoc', '4.2.1'
% cat Gemfile.lock
GEM
  remote: https://rubygems.org/
  specs:
    rdoc (4.2.1)

PLATFORMS
  ruby

DEPENDENCIES
  rdoc (= 4.2.1)

BUNDLED WITH
   1.13.0
% bundle exec ruby -r rdoc -e 'p RDoc::VERSION'
"5.0.0.beta2"
```

FYI: [Difference of bundled gem and default gem (in Japanese)](http://blog.n-z.jp/blog/2016-09-10-bundled-gem-and-default-gem.html)



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ruby-core:88113] [Ruby trunk Bug#12764][Assigned] rubygems with multi default gem problem
       [not found] <redmine.issue-12764.20160915133124@ruby-lang.org>
  2016-09-15 13:31 ` [ruby-core:77284] [Ruby trunk Bug#12764] rubygems with multi default gem problem zn
@ 2018-07-26  2:12 ` hsbt
  2019-06-25 18:09 ` [ruby-core:93364] [Ruby trunk Bug#12764] " merch-redmine
  2019-06-26  1:30 ` [ruby-core:93366] " hsbt
  3 siblings, 0 replies; 4+ messages in thread
From: hsbt @ 2018-07-26  2:12 UTC (permalink / raw
  To: ruby-core

Issue #12764 has been updated by hsbt (Hiroshi SHIBATA).

Status changed from Open to Assigned
Assignee set to hsbt (Hiroshi SHIBATA)

----------------------------------------
Bug #12764: rubygems with multi default gem problem
https://bugs.ruby-lang.org/issues/12764#change-73134

* Author: znz (Kazuhiro NISHIYAMA)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
* Target version: 
* ruby -v: trunk
* Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
----------------------------------------
This issue may affect Ruby committers only.
This does not probably affect released ruby.

With development ruby, `make install` many times.
After them, default gems are duplicated when exists updated.
And gem with old version in Gemfile does not work well.

Example:

```
% gem list rdoc

*** LOCAL GEMS ***

rdoc (default: 5.0.0.beta2, default: 4.2.1)
% cat Gemfile
# frozen_string_literal: true
source "https://rubygems.org"

# gem "rails"
gem 'rdoc', '4.2.1'
% cat Gemfile.lock
GEM
  remote: https://rubygems.org/
  specs:
    rdoc (4.2.1)

PLATFORMS
  ruby

DEPENDENCIES
  rdoc (= 4.2.1)

BUNDLED WITH
   1.13.0
% bundle exec ruby -r rdoc -e 'p RDoc::VERSION'
"5.0.0.beta2"
```

FYI: [Difference of bundled gem and default gem (in Japanese)](http://blog.n-z.jp/blog/2016-09-10-bundled-gem-and-default-gem.html)



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ruby-core:93364] [Ruby trunk Bug#12764] rubygems with multi default gem problem
       [not found] <redmine.issue-12764.20160915133124@ruby-lang.org>
  2016-09-15 13:31 ` [ruby-core:77284] [Ruby trunk Bug#12764] rubygems with multi default gem problem zn
  2018-07-26  2:12 ` [ruby-core:88113] [Ruby trunk Bug#12764][Assigned] " hsbt
@ 2019-06-25 18:09 ` merch-redmine
  2019-06-26  1:30 ` [ruby-core:93366] " hsbt
  3 siblings, 0 replies; 4+ messages in thread
From: merch-redmine @ 2019-06-25 18:09 UTC (permalink / raw
  To: ruby-core

Issue #12764 has been updated by jeremyevans0 (Jeremy Evans).

File rbinstall-destdir.patch added

This change broke installation when using `--dest-dir`, if the gem file without `--dest-dir` exists and the user performing the install does not have write access to the containing directory.  This affects building a package for the OpenBSD port if a previous package is already installed.  Attached is a patch to fix the issue.  I plan on committing it unless I hear objections.

----------------------------------------
Bug #12764: rubygems with multi default gem problem
https://bugs.ruby-lang.org/issues/12764#change-78879

* Author: znz (Kazuhiro NISHIYAMA)
* Status: Closed
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
* Target version: 
* ruby -v: trunk
* Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
----------------------------------------
This issue may affect Ruby committers only.
This does not probably affect released ruby.

With development ruby, `make install` many times.
After them, default gems are duplicated when exists updated.
And gem with old version in Gemfile does not work well.

Example:

```
% gem list rdoc

*** LOCAL GEMS ***

rdoc (default: 5.0.0.beta2, default: 4.2.1)
% cat Gemfile
# frozen_string_literal: true
source "https://rubygems.org"

# gem "rails"
gem 'rdoc', '4.2.1'
% cat Gemfile.lock
GEM
  remote: https://rubygems.org/
  specs:
    rdoc (4.2.1)

PLATFORMS
  ruby

DEPENDENCIES
  rdoc (= 4.2.1)

BUNDLED WITH
   1.13.0
% bundle exec ruby -r rdoc -e 'p RDoc::VERSION'
"5.0.0.beta2"
```

FYI: [Difference of bundled gem and default gem (in Japanese)](http://blog.n-z.jp/blog/2016-09-10-bundled-gem-and-default-gem.html)

---Files--------------------------------
rbinstall-destdir.patch (997 Bytes)


-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ruby-core:93366] [Ruby trunk Bug#12764] rubygems with multi default gem problem
       [not found] <redmine.issue-12764.20160915133124@ruby-lang.org>
                   ` (2 preceding siblings ...)
  2019-06-25 18:09 ` [ruby-core:93364] [Ruby trunk Bug#12764] " merch-redmine
@ 2019-06-26  1:30 ` hsbt
  3 siblings, 0 replies; 4+ messages in thread
From: hsbt @ 2019-06-26  1:30 UTC (permalink / raw
  To: ruby-core

Issue #12764 has been updated by hsbt (Hiroshi SHIBATA).


@jeremyevans0

+1, Can you commit it? Thanks.

----------------------------------------
Bug #12764: rubygems with multi default gem problem
https://bugs.ruby-lang.org/issues/12764#change-78881

* Author: znz (Kazuhiro NISHIYAMA)
* Status: Closed
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
* Target version: 
* ruby -v: trunk
* Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
----------------------------------------
This issue may affect Ruby committers only.
This does not probably affect released ruby.

With development ruby, `make install` many times.
After them, default gems are duplicated when exists updated.
And gem with old version in Gemfile does not work well.

Example:

```
% gem list rdoc

*** LOCAL GEMS ***

rdoc (default: 5.0.0.beta2, default: 4.2.1)
% cat Gemfile
# frozen_string_literal: true
source "https://rubygems.org"

# gem "rails"
gem 'rdoc', '4.2.1'
% cat Gemfile.lock
GEM
  remote: https://rubygems.org/
  specs:
    rdoc (4.2.1)

PLATFORMS
  ruby

DEPENDENCIES
  rdoc (= 4.2.1)

BUNDLED WITH
   1.13.0
% bundle exec ruby -r rdoc -e 'p RDoc::VERSION'
"5.0.0.beta2"
```

FYI: [Difference of bundled gem and default gem (in Japanese)](http://blog.n-z.jp/blog/2016-09-10-bundled-gem-and-default-gem.html)

---Files--------------------------------
rbinstall-destdir.patch (997 Bytes)


-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-06-26  1:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <redmine.issue-12764.20160915133124@ruby-lang.org>
2016-09-15 13:31 ` [ruby-core:77284] [Ruby trunk Bug#12764] rubygems with multi default gem problem zn
2018-07-26  2:12 ` [ruby-core:88113] [Ruby trunk Bug#12764][Assigned] " hsbt
2019-06-25 18:09 ` [ruby-core:93364] [Ruby trunk Bug#12764] " merch-redmine
2019-06-26  1:30 ` [ruby-core:93366] " hsbt

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).