зеркало из https://github.com/github/ruby.git
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:
Родитель
e4e82e50ab
Коммит
1a71b8718a
|
@ -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>
|
Wed Mar 6 13:14:28 2013 Eric Hodel <drbrain@segment7.net>
|
||||||
|
|
||||||
* test/rubygems/test_gem_spec_fetcher.rb: Removed unused variable.
|
* test/rubygems/test_gem_spec_fetcher.rb: Removed unused variable.
|
||||||
|
|
|
@ -688,8 +688,7 @@ install?(:ext, :comm, :gem) do
|
||||||
$:.unshift(File.join(srcdir, "lib"))
|
$:.unshift(File.join(srcdir, "lib"))
|
||||||
require("rubygems.rb")
|
require("rubygems.rb")
|
||||||
gem_dir = Gem.default_dir
|
gem_dir = Gem.default_dir
|
||||||
# Gem.ensure_gem_subdirectories makes subdirectories group-writable.
|
directories = Gem.ensure_gem_subdirectories(gem_dir, :mode => $dir_mode)
|
||||||
directories = Gem::REPOSITORY_SUBDIRECTORIES
|
|
||||||
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])
|
||||||
|
|
Загрузка…
Ссылка в новой задаче