Sha256: 7a3ae144efbeee6087261e1bd2f1a4604474e5bd893892705b3cfbd033952545

Contents?: true

Size: 599 Bytes

Versions: 6

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_path/tmp/$$* > /dev/null 2>&1 ; exit" 0 1 2 3 15

flag="$1" ; symlink_flag=0
if [[ -s "$rvm_path/bin/$rvm_ruby_string" ]] ; then
  rm -f ${rvm_path}/bin/${flag}_*
  ln -fs "$rvm_path/bin/$rvm_ruby_string" "$rvm_path/bin/${flag}_ruby"
  for binary in gem irb rake ; do
    ln -fs "$rvm_ruby_home/bin/${binary}" "$rvm_path/bin/${flag}_${binary}"
  done
  exit 0
else
  $rvm_scripts_path/log "error" "Cannot set ${flag}_ruby since $rvm_path/bin/$rvm_ruby_string is missing."
  exit 1
fi

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rvm-0.0.9999 scripts/symlink
rvm-0.0.999 scripts/symlink
rvm-0.0.99 scripts/symlink
rvm-0.0.98 scripts/symlink
rvm-0.0.97 scripts/symlink
rvm-0.0.96 scripts/symlink