scripts/docs in rvm-0.1.39 vs scripts/docs in rvm-0.1.40
- old
+ new
@@ -1,12 +1,7 @@
#!/usr/bin/env bash
-
-if [[ ! -z "$rvm_trace_flag" ]] ; then set -x ; export rvm_trace_flag ; fi
-
-trap "if [[ -d $rvm_tmp_path/ ]] && [[ -f $rvm_tmp_path/$$ ]] ; then rm -f $rvm_tmp_path/$$ > /dev/null 2>&1 ; fi ; exit" 0 1 2 3 15
-
-source $rvm_scripts_path/initialize
-source $rvm_scripts_path/utility
+rvm_base_except="selector"
+source "$rvm_scripts_path/base"
rvm_docs_ruby_string="$(__rvm_environment_identifier | awk -F"$rvm_gemset_separator" '{print $1}')"
if [[ "$rvm_docs_ruby_string" = "system" || -z "$rvm_docs_ruby_string" ]]; then
$rvm_scripts_path/log "error" "Currently 'rvm docs ...' does not work with non-rvm rubies."
exit 1