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,14 @@ 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
207-
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 ;;
204+ CONFIGURE_OPTS_ARRAY=( --without-tcl --without-tk --without-gmp )
205+ case $RUBY in
206+ ruby-2.4* |ruby-2.5* )
207+ CONFIGURE_OPTS_ARRAY+=( --enable-install-static-library );;
208+ esac
209+
210+ CONFIGURE_OPTS=$( IFS=' ,' ; echo " ${CONFIGURE_OPTS_ARRAY[*]} " )
211+ announce rvm install $RUBY $EXTRA_FLAGS --verify-downloads 1 $MOVABLE_FLAG --disable-install-doc -C $CONFIGURE_OPTS ;;
209212jruby-head)
210213 update_mvn 3.3.9
211214 announce rvm install $RUBY --verify-downloads 1;;
You can’t perform that action at this time.
0 commit comments