Project

General

Profile

Actions

Bug #12764

closed

rubygems with multi default gem problem

Added by znz (Kazuhiro NISHIYAMA) over 7 years ago. Updated almost 5 years ago.

Status:
Closed
Target version:
-
[ruby-core:77284]

Description

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)


Files

rbinstall-destdir.patch (997 Bytes) rbinstall-destdir.patch jeremyevans0 (Jeremy Evans), 06/25/2019 06:05 PM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0