Skip to content

Commit

Permalink
fix clang ruby-head detection, fix #763
Browse files Browse the repository at this point in the history
  • Loading branch information
mpapis committed Mar 1, 2012
1 parent e7aa238 commit 889f55f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/functions/manage/ruby
Expand Up @@ -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
}
Expand Down

0 comments on commit 889f55f

Please sign in to comment.