From 161cee3c48a989466c9d6650555c1ff0177ae0f8 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 7 Sep 2015 15:35:26 +0000 Subject: configure.in: BOOTSTRAPRUBY version * configure.in (BOOTSTRAPRUBY): avoid too old versions. current fileutils.rb does not work with 1.8 or older, because of the return values of Module#singleton_methods and so on. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- configure.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index be0db6abae..532f6bb2b5 100644 --- a/configure.in +++ b/configure.in @@ -3435,7 +3435,9 @@ else RUNRUBY='$(RUNRUBY_COMMAND) --' XRUBY='$(RUNRUBY)' BOOTSTRAPRUBY='$(MINIRUBY)' - test x"${HAVE_BASERUBY}" = xyes && BOOTSTRAPRUBY='$(BASERUBY)' + test x"${HAVE_BASERUBY}" = xyes && + ${BASERUBY} -e 'exit module A;def foo;end;instance_methods;end.include?(:foo)' && + BOOTSTRAPRUBY='$(BASERUBY)' TEST_RUNNABLE=yes CROSS_COMPILING=no fi -- cgit v1.2.3