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

Version Path
rvm-0.1.32 scripts/symlink
rvm-0.1.31 scripts/symlink
rvm-0.1.30 scripts/symlink
rvm-0.1.29 scripts/symlink
rvm-0.1.27 scripts/symlink
rvm-0.1.26 scripts/symlink
rvm-0.1.24 scripts/symlink
rvm-0.1.23 scripts/symlink
rvm-0.1.22 scripts/symlink
rvm-0.1.21 scripts/symlink
rvm-0.1.20 scripts/symlink
rvm-0.1.19 scripts/symlink
rvm-0.1.18 scripts/symlink
rvm-0.1.16 scripts/symlink
rvm-0.1.15 scripts/symlink
rvm-0.1.14 scripts/symlink
rvm-0.1.13 scripts/symlink
rvm-0.1.12 scripts/symlink
rvm-0.1.11 scripts/symlink
rvm-0.1.10 scripts/symlink