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

ruby-changes:14730

From: mame <ko1@a...>
Date: Sat, 6 Feb 2010 01:22:12 +0900 (JST)
Subject: [ruby-changes:14730] Ruby:r26587 (trunk): * ext/purelib.rb, common.mk: to simulate ruby command more precisely,

mame	2010-02-06 01:21:56 +0900 (Sat, 06 Feb 2010)

  New Revision: 26587

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

  Log:
    * ext/purelib.rb, common.mk: to simulate ruby command more precisely,
      remove "." from $: of virtual environment for build and test.

  Modified files:
    trunk/ChangeLog
    trunk/common.mk
    trunk/ext/purelib.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 26586)
+++ ChangeLog	(revision 26587)
@@ -1,3 +1,8 @@
+Sat Feb  6 01:14:54 2010  Yusuke Endoh  <mame@t...>
+
+	* ext/purelib.rb, common.mk: to simulate ruby command more precisely,
+	  remove "." from $: of virtual environment for build and test.
+
 Sat Feb  6 00:02:31 2010  Tanaka Akira  <akr@f...>
 
 	* random.c (fill_random_seed): don't use O_NOFOLLOW because
Index: common.mk
===================================================================
--- common.mk	(revision 26586)
+++ common.mk	(revision 26587)
@@ -123,7 +123,7 @@
 
 BOOTSTRAPRUBY = $(BASERUBY)
 
-COMPILE_PRELUDE = $(MINIRUBY) -I$(srcdir) -I. -rrbconfig $(srcdir)/tool/compile_prelude.rb
+COMPILE_PRELUDE = $(MINIRUBY) -I$(srcdir) -I. -r./rbconfig $(srcdir)/tool/compile_prelude.rb
 
 all: main docs
 
Index: ext/purelib.rb
===================================================================
--- ext/purelib.rb	(revision 26586)
+++ ext/purelib.rb	(revision 26587)
@@ -6,7 +6,7 @@
   end
 }
 if nul
-  removed, $:[nul..-1] = $:[nul..-1], ["."]
+  removed, $:[nul..-1] = $:[nul..-1], []
   if defined?(Gem::QuickLoader)
     removed.each do |path|
       # replaces a fake rubygems by gem_prelude.rb with an alternative path

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

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