rvm 0.1.32 → 0.1.33

Sign up to get free protection for your applications and to get access to all the features.
data/scripts/symlink DELETED
@@ -1,18 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- if [[ "$rvm_trace_flag" -eq 1 ]] ; then set -x ; export rvm_trace_flag ; fi
4
-
5
- trap "rm -f $rvm_tmp_path/$$* > /dev/null 2>&1 ; exit" 0 1 2 3 15
6
-
7
- flag="$1" ; symlink_flag=0
8
- if [[ -s "$rvm_bin_path/$rvm_ruby_string" ]] ; then
9
- rm -f ${rvm_bin_path}/${flag}_*
10
- ln -fs "$rvm_bin_path/$rvm_ruby_string" "$rvm_bin_path/${flag}_ruby"
11
- for binary in gem irb rake ; do
12
- ln -fs "$rvm_ruby_home/bin/${binary}" "$rvm_bin_path/${flag}_${binary}"
13
- done
14
- exit 0
15
- else
16
- $rvm_scripts_path/log "error" "Cannot set ${flag}_ruby since $rvm_bin_path/$rvm_ruby_string is missing."
17
- exit 1
18
- fi