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

ruby-changes:26252

From: naruse <ko1@a...>
Date: Tue, 11 Dec 2012 15:13:56 +0900 (JST)
Subject: [ruby-changes:26252] naruse:r38309 (trunk): * tool/make-snapshot (BASERUBY): add --disable-gem to avoid load gems.

naruse	2012-12-11 15:13:43 +0900 (Tue, 11 Dec 2012)

  New Revision: 38309

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

  Log:
    * tool/make-snapshot (BASERUBY): add --disable-gem to avoid load gems.
      [Bug #7541] [ruby-core:50736]

  Modified files:
    trunk/ChangeLog
    trunk/tool/make-snapshot

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 38308)
+++ ChangeLog	(revision 38309)
@@ -1,3 +1,8 @@
+Tue Dec 11 15:11:29 2012  NARUSE, Yui  <naruse@r...>
+
+	* tool/make-snapshot (BASERUBY): add --disable-gem to avoid load gems.
+	  [Bug #7541] [ruby-core:50736]
+
 Tue Dec 11 12:00:19 2012  NARUSE, Yui  <naruse@r...>
 
 	* ext/dl/win32/extconf.rb: Fix typo
Index: tool/make-snapshot
===================================================================
--- tool/make-snapshot	(revision 38308)
+++ tool/make-snapshot	(revision 38309)
@@ -69,6 +69,11 @@
   end
 end
 
+`#{ENV["BASERUBY"]} --disable-gem -e1 2>&1`
+if $?.success?
+  ENV["BASERUBY"] += ' --disable-gems'
+end
+
 if $help or $_help
   puts usage
   exit

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

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