Skip to content

Instantly share code, notes, and snippets.

@fj
Created June 13, 2010 14:36
Show Gist options
  • Save fj/436706 to your computer and use it in GitHub Desktop.
Save fj/436706 to your computer and use it in GitHub Desktop.
Patch for misleading #rvm message when using 'system' instead of '--system'.
diff --git a/scripts/cli b/scripts/cli
index b4cd70e..496d322 100644
--- a/scripts/cli
+++ b/scripts/cli
@@ -280,6 +280,7 @@ __rvm_parse_args() {
;;
system|default)
+ echo "Reverting to predefined interpreter '${rvm_token}'."
rvm_action=${rvm_action:-use}
rvm_ruby_interpreter="$rvm_token"
rvm_ruby_string="$rvm_token"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment