mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 13:04:13 +02:00
Merge RubyGems 2.7.6 from upstream.
It fixed some security vulnerabilities. http://blog.rubygems.org/2018/02/15/2.7.6-released.html git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7a453b1576
commit
7619cb3d7d
15 changed files with 389 additions and 27 deletions
|
@ -351,7 +351,7 @@ By default, this RubyGems will install gem as:
|
|||
return unless Gem::USE_BUNDLER_FOR_GEMDEPS
|
||||
|
||||
specs_dir = Gem::Specification.default_specifications_dir
|
||||
File.join(options[:destdir], specs_dir) unless Gem.win_platform?
|
||||
specs_dir = File.join(options[:destdir], specs_dir) unless Gem.win_platform?
|
||||
mkdir_p specs_dir
|
||||
|
||||
# Workaround for non-git environment.
|
||||
|
@ -386,7 +386,7 @@ By default, this RubyGems will install gem as:
|
|||
end
|
||||
|
||||
bundler_bin_dir = File.join(Gem.default_dir, 'gems', bundler_spec.full_name, bundler_spec.bindir)
|
||||
File.join(options[:destdir], bundler_bin_dir) unless Gem.win_platform?
|
||||
bundler_bin_dir = File.join(options[:destdir], bundler_bin_dir) unless Gem.win_platform?
|
||||
mkdir_p bundler_bin_dir
|
||||
bundler_spec.executables.each do |e|
|
||||
cp File.join("bundler", bundler_spec.bindir, e), File.join(bundler_bin_dir, e)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue