mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
rbinstall.rb: gem subdirectories
* tool/rbinstall.rb (gem): prepare implies makedirs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3b5ba5df17
commit
7a9bbf31fd
1 changed files with 0 additions and 1 deletions
|
@ -690,7 +690,6 @@ install?(:ext, :comm, :gem) do
|
||||||
gem_dir = Gem.default_dir
|
gem_dir = Gem.default_dir
|
||||||
# Gem.ensure_gem_subdirectories makes subdirectories group-writable.
|
# Gem.ensure_gem_subdirectories makes subdirectories group-writable.
|
||||||
directories = Gem::REPOSITORY_SUBDIRECTORIES
|
directories = Gem::REPOSITORY_SUBDIRECTORIES
|
||||||
makedirs([gem_dir, *directories.map {|name| File.join(gem_dir, name)}])
|
|
||||||
prepare "default gems", gem_dir, directories
|
prepare "default gems", gem_dir, directories
|
||||||
|
|
||||||
spec_dir = File.join(gem_dir, directories.grep(/^spec/)[0])
|
spec_dir = File.join(gem_dir, directories.grep(/^spec/)[0])
|
||||||
|
|
Loading…
Reference in a new issue