From: zn@... Date: 2016-09-15T13:31:24+00:00 Subject: [ruby-core:77284] [Ruby trunk Bug#12764] rubygems with multi default gem problem 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/ Unsubscribe: