From 7f7b25d8cb5f3380a1d02716e8f060303943176a Mon Sep 17 00:00:00 2001 From: Michal Papis Date: Thu, 4 Oct 2012 09:16:25 +0200 Subject: [PATCH] allow selecting aliases, fix #1171 --- scripts/cli | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/cli b/scripts/cli index 714fa08b31..bb62ed048c 100755 --- a/scripts/cli +++ b/scripts/cli @@ -365,7 +365,7 @@ __rvm_parse_args() rvm_gemset_name="${rvm_token/.gems/}" rvm_file_name="$rvm_gemset_name.gems" elif - [[ -f "$rvm_rubies_path/$rvm_token" ]] # ruby + [[ -f "$rvm_rubies_path/$rvm_token" || -L "$rvm_rubies_path/$rvm_token" ]] # ruby || alias then rvm_ruby_string=$rvm_token rvm_ruby_strings="$rvm_token"