ruby-changes:37157
From: nobu <ko1@a...>
Date: Tue, 13 Jan 2015 21:59:35 +0900 (JST)
Subject: [ruby-changes:37157] nobu:r49238 (trunk): rbinstall.rb: fix bundled gems location
nobu 2015-01-13 21:59:26 +0900 (Tue, 13 Jan 2015) New Revision: 49238 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=49238 Log: rbinstall.rb: fix bundled gems location * tool/rbinstall.rb (gem): fix changing permissions of installed bundled gems. [Fix GH-812] Modified files: trunk/ChangeLog trunk/tool/rbinstall.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 49237) +++ ChangeLog (revision 49238) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Tue Jan 13 21:59:24 2015 Michal Papis <mpapis@g...> + + * tool/rbinstall.rb (gem): fix changing permissions of installed + bundled gems. [Fix GH-812] + Tue Jan 13 21:57:12 2015 Nobuyoshi Nakada <nobu@r...> * common.mk (distclean-local): remove autom4te.cache generated by Index: tool/rbinstall.rb =================================================================== --- tool/rbinstall.rb (revision 49237) +++ tool/rbinstall.rb (revision 49238) @@ -730,9 +730,9 @@ install?(:ext, :comm, :gem) do https://github.com/ruby/ruby/blob/trunk/tool/rbinstall.rb#L730 end # fix directory permissions # TODO: Gem.install should accept :dir_mode option or something - File.chmod($dir_mode, *Dir.glob(with_destdir(Gem.dir)+"/**/")) + File.chmod($dir_mode, *Dir.glob(with_destdir(gem_dir)+"/**/")) # fix .gemspec permissions - File.chmod($data_mode, *Dir.glob(with_destdir(Gem.dir)+"/specifications/*.gemspec")) + File.chmod($data_mode, *Dir.glob(with_destdir(gem_dir)+"/specifications/*.gemspec")) else puts "skip installing bundle gems because of lacking zlib" end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/