Permalink
Browse files

fix clang ruby-head detection, fix #763

  • Loading branch information...
1 parent e7aa238 commit 889f55fe7d880e8679f2f5c3496ff05571768b6d @mpapis mpapis committed Mar 1, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 scripts/functions/manage/ruby
@@ -37,14 +37,14 @@ __clang_ready()
{
typeset _patch_level
case ${rvm_ruby_string} in
+ ruby-1.9.3-head*|ruby-2*)
+ return 0
+ ;;
ruby-1.9.3*)
_patch_level="${rvm_ruby_patch_level:-p0}"
_patch_level="${_patch_level#p}"
(( _patch_level >= 125 )) && return 0 || true
;;
- ruby-1.9.3-head*|ruby-2*)
- return 0
- ;;
esac
return 1
}

0 comments on commit 889f55f

Please sign in to comment.