mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* configure.in: disable rubygems not to load rbconfig.rb before
fake.rb. [ruby-core:44492][Bug #6329] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c9bbb3a8b8
commit
e2b54072b5
2 changed files with 11 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Mon Apr 23 10:43:30 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* configure.in: disable rubygems not to load rbconfig.rb before
|
||||
fake.rb. [ruby-core:44492][Bug #6329]
|
||||
|
||||
Sun Apr 22 20:26:06 2012 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* lib/drb/extservm.rb (DRb::ExtServManager): don't use /bin/sh to
|
||||
|
|
|
@ -19,8 +19,13 @@ AC_ARG_WITH(baseruby,
|
|||
[
|
||||
BASERUBY="ruby"
|
||||
])
|
||||
test "`RUBYOPT=- $BASERUBY -e 'p 42' 2>/dev/null`" = 42 ||
|
||||
if test "`RUBYOPT=- $BASERUBY -e 'p 42' 2>/dev/null`" = 42; then
|
||||
if test "`RUBYOPT=- $BASERUBY --disable=gems -e 'p 42' 2>/dev/null`" = 42; then
|
||||
BASERUBY="$BASERUBY --disable=gems"
|
||||
fi
|
||||
else
|
||||
BASERUBY="echo executable host ruby is required. use --with-baseruby option.; false"
|
||||
fi
|
||||
AC_SUBST(BASERUBY)
|
||||
|
||||
AC_DEFUN([RUBY_MINGW32],
|
||||
|
|
Loading…
Add table
Reference in a new issue