ruby-changes:26270
From: naruse <ko1@a...>
Date: Wed, 12 Dec 2012 01:18:10 +0900 (JST)
Subject: [ruby-changes:26270] naruse:r38327 (trunk): * tool/make-snapshot: add --disable-rubygem to both MINIRUBY and RUBY.
naruse 2012-12-12 01:18:01 +0900 (Wed, 12 Dec 2012) New Revision: 38327 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=38327 Log: * tool/make-snapshot: add --disable-rubygem to both MINIRUBY and RUBY. On making miniprelude.c, it seems use MINIRUBY. this fixes #7541 but rubygems also needs to be fixed for older rubies. Modified files: trunk/ChangeLog trunk/tool/make-snapshot Index: ChangeLog =================================================================== --- ChangeLog (revision 38326) +++ ChangeLog (revision 38327) @@ -1,3 +1,9 @@ +Wed Dec 12 01:05:04 2012 NARUSE, Yui <naruse@r...> + + * tool/make-snapshot: add --disable-rubygem to both MINIRUBY and RUBY. + On making miniprelude.c, it seems use MINIRUBY. this fixes #7541 + but rubygems also needs to be fixed for older rubies. + Wed Dec 12 00:32:11 2012 Naohisa Goto <ngotogenome@g...> * test/dl/test_func.rb (test_name_with_block, test_bind, test_qsort1): Index: tool/make-snapshot =================================================================== --- tool/make-snapshot (revision 38326) +++ tool/make-snapshot (revision 38327) @@ -69,9 +69,11 @@ end end -`#{ENV["BASERUBY"]} --disable-gem -e1 2>&1` -if $?.success? - ENV["BASERUBY"] += ' --disable-gems' +%w[BASERUBY RUBY MINIRUBY].each do |var| + `#{ENV[var]} --disable-gem -e1 2>&1` + if $?.success? + ENV[var] += ' --disable-gem' + end end if $help or $_help -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/