scripts/cli in rvm-1.0.10 vs scripts/cli in rvm-1.0.11

- old
+ new

@@ -1,8 +1,8 @@ #!/usr/bin/env bash -__rvm_usage() { \less "${rvm_path:-$HOME/.rvm}/README" ; } +__rvm_usage() { ${PAGER:-less} "${rvm_path:-$HOME/.rvm}/README" ; } __rvm_run_script() { local rvm_script_name="${1:-"$rvm_action"}" eval "$rvm_path/scripts/$rvm_script_name $rvm_ruby_args" @@ -335,10 +335,16 @@ rvm_action="$rvm_token" rvm_ruby_args="$next_token $@" rvm_parse_break=1 ;; - --passenger|--editor) + --passenger) + "$rvm_path/scripts/log" "info" \ + "NOTE: If you are using Passenger 3 you no longer need the passenger_ruby,\nuse the wrapper script for your ruby instead (see 'rvm wrapper')" + rvm_wrapper_name="${rvm_token/--/}" + ;; + + --editor) rvm_wrapper_name="${rvm_token/--/}" ;; --alias) if [[ -n "$next_token" ]]; then