1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
hsbt 2015-11-16 06:33:17 +00:00
parent 9044b126e5
commit 8fef6aa20b
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Mon Nov 16 15:33:11 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
* tool/rbinstall.rb: fix wrong permission for gem specification without
zlib runtime. [Bug #11685][ruby-dev:49343]
Mon Nov 16 12:11:11 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
* lib/webrick/httpauth/basicauth.rb: fix a typo.

View file

@ -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'))}