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

ruby-changes:16846

From: shyouhei <ko1@a...>
Date: Tue, 3 Aug 2010 12:06:12 +0900 (JST)
Subject: [ruby-changes:16846] Ruby:r28841 (trunk): * tool/runruby.rb: no purelib.

shyouhei	2010-08-03 12:05:39 +0900 (Tue, 03 Aug 2010)

  New Revision: 28841

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

  Log:
    * tool/runruby.rb: no purelib.

  Modified files:
    trunk/ChangeLog
    trunk/tool/runruby.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 28840)
+++ ChangeLog	(revision 28841)
@@ -1,3 +1,7 @@
+Tue Aug  3 12:03:57 2010  URABE Shyouhei  <shyouhei@r...>
+
+	* tool/runruby.rb: no purelib.
+
 Tue Aug  3 07:52:20 2010  Nobuyoshi Nakada  <nobu@r...>
 
 	* ext/purelib.rb: no longer used since the default load path of
Index: tool/runruby.rb
===================================================================
--- tool/runruby.rb	(revision 28840)
+++ tool/runruby.rb	(revision 28841)
@@ -1,6 +1,5 @@
 #!./miniruby
 
-pure = true
 show = false
 precommand = []
 while arg = ARGV[0]
@@ -18,7 +17,7 @@
   when re =~ "extout"
     extout = value
   when re =~ "pure"
-    pure = (value != "no")
+    # obsolete switch do nothing
   when re =~ "debugger"
     require 'shellwords'
     precommand.concat(value ? (Shellwords.shellwords(value) unless value == "no") : %w"gdb --args")
@@ -62,9 +61,7 @@
 env["RUBY"] = File.expand_path(ruby)
 env["PATH"] = [abs_archdir, ENV["PATH"]].compact.join(File::PATH_SEPARATOR)
 
-if pure
-  libs << File.expand_path("ext", srcdir) << "-"
-elsif e = ENV["RUBYLIB"]
+if e = ENV["RUBYLIB"]
   libs |= e.split(File::PATH_SEPARATOR)
 end
 env["RUBYLIB"] = $:.replace(libs).join(File::PATH_SEPARATOR)
@@ -82,7 +79,6 @@
 ENV.update env
 
 cmd = [ruby]
-cmd << "-rpurelib.rb" if pure
 cmd.concat(ARGV)
 cmd.unshift(*precommand) unless precommand.empty?
 

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

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