Sha256: 55fa95a72438da1a955cacd2c4e1cba6ebec4a8328e53ffbf4d455252d2acc94

Contents?: true

Size: 393 Bytes

Versions: 5

Compression:

Stored size: 393 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
  if [[ "root" = "$(whoami)" ]] ; then
    rvm_path="${rvm_path:-/usr/local/rvm}"
  else
    rvm_path="${rvm_path:-$HOME/.rvm}"
  fi
fi

source $rvm_path/scripts/rvm
rvm "$*"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rvm-0.0.91 binscripts/rvm
rvm-0.0.90 binscripts/rvm
rvm-0.0.89 binscripts/rvm
rvm-0.0.88 binscripts/rvm
rvm-0.0.87 binscripts/rvm