Permalink
Browse files

recognize current as ruby string, fix #2665

  • Loading branch information...
1 parent 33865dc commit 6537e6669ebcd9774fea8845432eb19b2ccf45c8 @mpapis mpapis committed Mar 1, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/functions/selector_parse
@@ -62,7 +62,7 @@ __rvm_ruby_string_parse_()
rvm_ruby_name="$ruby_name"
if
- [[ -z "${ruby_string}" ]]
+ [[ -z "${ruby_string}" || "${ruby_string}" == "current" ]]
then
if
[[ "${GEM_HOME:-}" == *"${rvm_gems_path}"* ]]

0 comments on commit 6537e66

Please sign in to comment.