зеркало из https://github.com/github/ruby.git
rbinstall.rb: fix bundled gems location
* tool/rbinstall.rb (gem): fix changing permissions of installed bundled gems. [Fix GH-812] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
3303dbf01b
Коммит
ec171c4597
|
@ -1,3 +1,8 @@
|
|||
Tue Jan 13 21:59:24 2015 Michal Papis <mpapis@gmail.com>
|
||||
|
||||
* tool/rbinstall.rb (gem): fix changing permissions of installed
|
||||
bundled gems. [Fix GH-812]
|
||||
|
||||
Tue Jan 13 21:57:12 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* common.mk (distclean-local): remove autom4te.cache generated by
|
||||
|
|
|
@ -730,9 +730,9 @@ install?(:ext, :comm, :gem) do
|
|||
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
|
||||
|
|
Загрузка…
Ссылка в новой задаче