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

ruby-changes:37377

From: nobu <ko1@a...>
Date: Sat, 31 Jan 2015 18:07:22 +0900 (JST)
Subject: [ruby-changes:37377] nobu:r49458 (trunk): rbinstall.rb: duplicate code

nobu	2015-01-31 18:07:17 +0900 (Sat, 31 Jan 2015)

  New Revision: 49458

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

  Log:
    rbinstall.rb: duplicate code
    
    * tool/rbinstall.rb (gem): remove duplicate load path and require.

  Modified files:
    trunk/tool/rbinstall.rb
Index: tool/rbinstall.rb
===================================================================
--- tool/rbinstall.rb	(revision 49457)
+++ tool/rbinstall.rb	(revision 49458)
@@ -687,8 +687,6 @@ end https://github.com/ruby/ruby/blob/trunk/tool/rbinstall.rb#L687
 # :startdoc:
 
 install?(:ext, :comm, :gem) do
-  $:.unshift(File.join(srcdir, "lib"))
-  require("rubygems.rb")
   gem_dir = Gem.default_dir
   directories = Gem.ensure_gem_subdirectories(gem_dir, :mode => $dir_mode)
   prepare "default gems", gem_dir, directories

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

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