File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -201,11 +201,16 @@ ruby-*)
201201 EXTRA_FLAGS=" --rubygems ignore"
202202 fi
203203
204- if [[ $RUBY = ruby-2.4* ]]; then
205- EXTRA_CONFIGURE_OPTS=" ,--enable-install-static-library"
206- fi
204+ CONFIGURE_OPTS_ARRAY=( --without-tcl --without-tk --without-gmp )
205+
206+ case $RUBY in
207+ ruby-2.4* |ruby-2.5* )
208+ CONFIGURE_OPTS_ARRAY+=( --enable-install-static-library );;
209+ esac
210+
211+ CONFIGURE_OPTS=$( IFS=' ,' ; echo " ${CONFIGURE_OPTS_ARRAY[*]} " )
207212
208- announce rvm install $RUBY $EXTRA_FLAGS --verify-downloads 1 $MOVABLE_FLAG --disable-install-doc -C --without-tcl,--without-tk,--without-gmp $EXTRA_CONFIGURE_OPTS ;;
213+ announce rvm install $RUBY $EXTRA_FLAGS --verify-downloads 1 $MOVABLE_FLAG --disable-install-doc -C $CONFIGURE_OPTS ;;
209214jruby-head)
210215 update_mvn 3.3.9
211216 announce rvm install $RUBY --verify-downloads 1;;
You can’t perform that action at this time.
0 commit comments