diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rwxr-xr-x | tool/rbinstall.rb | 2 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,7 @@ +Sun Apr 5 09:11:00 2015 SHIBATA Hiroshi <shibata.hiroshi@gmail.com> + + * tool/rbinstall.rb: fix bin script permission of bundled gems. + Sun Apr 5 08:46:08 2015 SHIBATA Hiroshi <shibata.hiroshi@gmail.com> * tool/rbinstall.rb: support --program-suffix option. diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb index df4688ead7..50bb6434d5 100755 --- a/tool/rbinstall.rb +++ b/tool/rbinstall.rb @@ -769,6 +769,8 @@ install?(:ext, :comm, :gem) do gemname = File.basename(gem) puts "#{" "*30}#{gemname}" end + # fix bindir permission + File.chmod($prog_mode, *Dir.glob(with_destdir(bindir)+"/*")) # fix directory permissions # TODO: Gem.install should accept :dir_mode option or something File.chmod($dir_mode, *Dir.glob(install_dir+"/**/")) |