Skip to content

Commit

Permalink
fix detecting binary rubies fallback, update travis-ci/travis-ci#1794
Browse files Browse the repository at this point in the history
  • Loading branch information
mpapis committed Dec 28, 2013
1 parent 4a1f4b1 commit 62bd7bb
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions scripts/selector_parse
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,9 @@ __rvm_ruby_string_fuzzy_remote_for()
__rvm_ruby_string_fuzzy_remote()
{
case "${rvm_ruby_string}" in
(jruby*) __rvm_ruby_string_fuzzy_remote_for jruby ;;
(rbx*|rubinius*) __rvm_ruby_string_fuzzy_remote_for rbx ;;
(ruby*) __rvm_ruby_string_fuzzy_remote_for ruby rubies ;;
(*)
rvm_error "Do not know how to find binary for ${rvm_ruby_string}"
return 1
;;
(jruby*) __rvm_ruby_string_fuzzy_remote_for jruby ;;
(rbx*|rubinius*) __rvm_ruby_string_fuzzy_remote_for rbx ;;
(*) __rvm_ruby_string_fuzzy_remote_for ruby rubies ;;
esac
true
}
Expand Down

0 comments on commit 62bd7bb

Please sign in to comment.