Skip to content

Commit

Permalink
allow compiling ruby-head with ruby-1.9, fix #1085
Browse files Browse the repository at this point in the history
  • Loading branch information
mpapis committed Aug 31, 2012
1 parent 11c0016 commit d0b6656
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions scripts/functions/manage/ruby
Expand Up @@ -63,15 +63,18 @@ ruby_install()
fi

case ${rvm_ruby_string:-""} in
ruby-1.8*|ree*|ruby-1.9*)
true # carry on then, nothing to see here :P
;;
ruby-head|1.9.*-head)
ruby-1.8.*-head)
if __rvm_ensure_has_mri_ruby "1.8.|ree"
then true
else return $?
fi
;;
ruby-head|ruby-1.9.*-head)
if __rvm_ensure_has_mri_ruby
then true
else return $?
fi
;;
esac

# TODO: needed <= 1.9.3-p194, confirm with http://bugs.ruby-lang.org/issues/6903
Expand Down

0 comments on commit d0b6656

Please sign in to comment.