ruby-changes:46088
From: nagachika <ko1@a...>
Date: Tue, 28 Mar 2017 00:18:43 +0900 (JST)
Subject: [ruby-changes:46088] nagachika:r58159 (ruby_2_3): merge revision(s) 57546: [Backport #13194]
nagachika 2017-03-28 00:18:38 +0900 (Tue, 28 Mar 2017) New Revision: 58159 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58159 Log: merge revision(s) 57546: [Backport #13194] rbinstall.rb: Gem::Installer lacks dir_mode option * tool/rbinstall.rb (bundle-gems): Gem::Installer does not support directory permission option, set umask to owner writable. Modified directories: branches/ruby_2_3/ Modified files: branches/ruby_2_3/tool/rbinstall.rb branches/ruby_2_3/version.h Index: ruby_2_3/tool/rbinstall.rb =================================================================== --- ruby_2_3/tool/rbinstall.rb (revision 58158) +++ ruby_2_3/tool/rbinstall.rb (revision 58159) @@ -763,7 +763,12 @@ install?(:ext, :comm, :gem) do https://github.com/ruby/ruby/blob/trunk/ruby_2_3/tool/rbinstall.rb#L763 if defined?(Zlib) Gem.instance_variable_set(:@ruby, with_destdir(File.join(bindir, ruby_install_name))) gems.each do |gem| - Gem.install(gem, Gem::Requirement.default, options) + begin + File.umask(022) + Gem.install(gem, Gem::Requirement.default, options) + ensure + File.umask(0222) + end gemname = File.basename(gem) puts "#{" "*30}#{gemname}" end Index: ruby_2_3/version.h =================================================================== --- ruby_2_3/version.h (revision 58158) +++ ruby_2_3/version.h (revision 58159) @@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_3/version.h#L1 #define RUBY_VERSION "2.3.3" #define RUBY_RELEASE_DATE "2017-03-28" -#define RUBY_PATCHLEVEL 268 +#define RUBY_PATCHLEVEL 269 #define RUBY_RELEASE_YEAR 2017 #define RUBY_RELEASE_MONTH 3 Property changes on: ruby_2_3 ___________________________________________________________________ Modified: svn:mergeinfo Merged /trunk:r57546 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/