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): Gem.ensure_gem_subdirectories now has mode option since r39607. refix of r38870. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e4e82e50ab
commit
1a71b8718a
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
Thu Mar 7 10:39:04 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* tool/rbinstall.rb (gem): Gem.ensure_gem_subdirectories now has mode
|
||||
option since r39607. refix of r38870.
|
||||
|
||||
Wed Mar 6 13:14:28 2013 Eric Hodel <drbrain@segment7.net>
|
||||
|
||||
* test/rubygems/test_gem_spec_fetcher.rb: Removed unused variable.
|
||||
|
|
|
@ -688,8 +688,7 @@ install?(:ext, :comm, :gem) do
|
|||
$:.unshift(File.join(srcdir, "lib"))
|
||||
require("rubygems.rb")
|
||||
gem_dir = Gem.default_dir
|
||||
# Gem.ensure_gem_subdirectories makes subdirectories group-writable.
|
||||
directories = Gem::REPOSITORY_SUBDIRECTORIES
|
||||
directories = Gem.ensure_gem_subdirectories(gem_dir, :mode => $dir_mode)
|
||||
prepare "default gems", gem_dir, directories
|
||||
|
||||
spec_dir = File.join(gem_dir, directories.grep(/^spec/)[0])
|
||||
|
|
Loading…
Reference in a new issue