Sha256: 252d7b683b94707413c70ddd2a8c0b5ed0a16fa67f76245fedbc4d6782899d23
Contents?: true
Size: 599 Bytes
Versions: 29
Compression:
Stored size: 599 Bytes
Contents
#!/usr/bin/env bash if [[ "$rvm_trace_flag" -eq 1 ]] ; then set -x ; export rvm_trace_flag ; fi trap "rm -f $rvm_tmp_path/$$* > /dev/null 2>&1 ; exit" 0 1 2 3 15 flag="$1" ; symlink_flag=0 if [[ -s "$rvm_bin_path/$rvm_ruby_string" ]] ; then rm -f ${rvm_bin_path}/${flag}_* ln -fs "$rvm_bin_path/$rvm_ruby_string" "$rvm_bin_path/${flag}_ruby" for binary in gem irb rake ; do ln -fs "$rvm_ruby_home/bin/${binary}" "$rvm_bin_path/${flag}_${binary}" done exit 0 else $rvm_scripts_path/log "error" "Cannot set ${flag}_ruby since $rvm_bin_path/$rvm_ruby_string is missing." exit 1 fi
Version data entries
29 entries across 29 versions & 1 rubygems