diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-16 06:33:17 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-16 06:33:17 +0000 |
commit | 8fef6aa20bd658d90036287caa96b9ca17ef3fc5 (patch) | |
tree | f28fd784489361830dfedba5a4016939a005b6d2 /tool/rbinstall.rb | |
parent | 9044b126e5d4516b28718a76c162edfc77d4a933 (diff) | |
download | ruby-8fef6aa20bd658d90036287caa96b9ca17ef3fc5.tar.gz |
* tool/rbinstall.rb: fix wrong permission for gem specification without
zlib runtime. [Bug #11685][ruby-dev:49343]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/rbinstall.rb')
-rwxr-xr-x | tool/rbinstall.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb index 58a4613b0d..4614c3538a 100755 --- a/tool/rbinstall.rb +++ b/tool/rbinstall.rb @@ -752,6 +752,7 @@ install?(:ext, :comm, :gem) do ins = RbInstall::UnpackedInstaller.new(spec, options) puts "#{" "*30}#{spec.name} #{spec.version}" ins.install + File.chmod($data_mode, File.join(install_dir, "specifications", "#{spec.full_name}.gemspec")) installed_gems[spec.full_name] = true end installed_gems, gems = Dir.glob(srcdir+'/gems/*.gem').partition {|gem| installed_gems.key?(File.basename(gem, '.gem'))} |