Sha256: cc90906db04b2bf0830acbd352a22cbef325f4936c904b7293562b19f9519e12

Contents?: true

Size: 679 Bytes

Versions: 16

Compression:

Stored size: 679 Bytes

Contents

#!/usr/bin/env bash

if [[ -f /etc/rvmrc ]] ; then source /etc/rvmrc ; fi
if [[ -f "$HOME/.rvmrc" ]] ; then source "$HOME/.rvmrc" ; fi
if [[ -z "$rvm_path" ]] ; then unset rvm_path ; fi

if [[ -z "$rvm_path" ]] ; then
  unset rvm_path
  if [[ "root" = "$(whoami)" ]] ; then
    rvm_path="/usr/local/rvm"
  else
    if [[ -d "$HOME/.rvm" ]] && [[ -s "$HOME/.rvm/scripts/rvm" ]]; then
      rvm_path="$HOME/.rvm"
    elif [[ -d "/usr/local/rvm" ]] && [[ -s "/usr/local/rvm/scripts/rvm" ]] ; then
      rvm_path="${rvm_path:-"/usr/local/rvm"}"
    fi
  fi
fi

rvm_scripts_path="${rvm_scripts_path:-"$rvm_path/scripts"}"
source $rvm_scripts_path/rvm

unset rvm_interactive

rvm "$*"

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
rvm-0.1.18 binscripts/rvm
rvm-0.1.16 binscripts/rvm
rvm-0.1.15 binscripts/rvm
rvm-0.1.14 binscripts/rvm
rvm-0.1.13 binscripts/rvm
rvm-0.1.12 binscripts/rvm
rvm-0.1.11 binscripts/rvm
rvm-0.1.10 binscripts/rvm
rvm-0.1.9 binscripts/rvm
rvm-0.1.8 binscripts/rvm
rvm-0.1.7 binscripts/rvm
rvm-0.1.6 binscripts/rvm
rvm-0.1.5 binscripts/rvm
rvm-0.1.3 binscripts/rvm
rvm-0.1.2 binscripts/rvm
rvm-0.1.1 binscripts/rvm