Permalink
Browse files

Only do 'make' not configure for JRuby < 1.4.

  • Loading branch information...
wayneeseguin committed Feb 25, 2010
1 parent 494e562 commit a03514f762144716e11320919cfa0adda4568133
Showing with 5 additions and 1 deletion.
  1. +5 −1 scripts/manage
View
@@ -370,7 +370,11 @@ RubyWrapper
if [[ ! -z "$rvm_head_flag" ]] ; then __rvm_run "ant.dist" "ant dist" "Running 'ant dist' (this could take a few minutes) ..." ; fi
mkdir -p "$rvm_ruby_home/bin/"
- __rvm_run "nailgun" "builtin cd \"$rvm_ruby_src_path/tool/nailgun\" && ./configure --prefix=$rvm_ruby_home && make $rvm_make_flags" "Building Nailgun"
+ if $rvm_scripts_path/match "$rvm_ruby_version" "1\.3" || $rvm_scripts_path/match "$rvm_ruby_version" "1\.2" ; then
+ __rvm_run "nailgun" "builtin cd \"$rvm_ruby_src_path/tool/nailgun\" && make $rvm_make_flags" "Building Nailgun"
+ else
+ __rvm_run "nailgun" "builtin cd \"$rvm_ruby_src_path/tool/nailgun\" && ./configure --prefix=$rvm_ruby_home && make $rvm_make_flags" "Building Nailgun"
+ fi
__rvm_pushpop

0 comments on commit a03514f

Please sign in to comment.