[前][次][番号順一覧][スレッド一覧]

ruby-changes:26819

From: nobu <ko1@a...>
Date: Fri, 18 Jan 2013 14:02:18 +0900 (JST)
Subject: [ruby-changes:26819] nobu:r38871 (trunk): rbinstall.rb: gem subdirectories

nobu	2013-01-18 14:02:07 +0900 (Fri, 18 Jan 2013)

  New Revision: 38871

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=38871

  Log:
    rbinstall.rb: gem subdirectories
    
    * tool/rbinstall.rb (gem): prepare implies makedirs.

  Modified files:
    trunk/tool/rbinstall.rb

Index: tool/rbinstall.rb
===================================================================
--- tool/rbinstall.rb	(revision 38870)
+++ tool/rbinstall.rb	(revision 38871)
@@ -690,7 +690,6 @@ install?(:ext, :comm, :gem) do https://github.com/ruby/ruby/blob/trunk/tool/rbinstall.rb#L690
   gem_dir = Gem.default_dir
   # Gem.ensure_gem_subdirectories makes subdirectories group-writable.
   directories = Gem::REPOSITORY_SUBDIRECTORIES
-  makedirs([gem_dir, *directories.map {|name| File.join(gem_dir, name)}])
   prepare "default gems", gem_dir, directories
 
   spec_dir = File.join(gem_dir, directories.grep(/^spec/)[0])

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]