mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 13:34:17 +02:00
[rubygems/rubygems] Unconditionally set installed_by_version
It has been supported since RubyGems 2.2.0 via4525e45a4d
Signed-off-by: Samuel Giddins <segiddins@segiddins.me>bf39c583e8
This commit is contained in:
parent
7836626f92
commit
43e3416b70
6 changed files with 5 additions and 10 deletions
|
@ -131,7 +131,7 @@ module Bundler
|
|||
Bundler::Index.build do |index|
|
||||
files.each do |file|
|
||||
next unless spec = Bundler.load_gemspec(file)
|
||||
Bundler.rubygems.set_installed_by_version(spec)
|
||||
spec.installed_by_version = Gem::VERSION
|
||||
|
||||
spec.source = self
|
||||
Bundler.rubygems.validate(spec)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue