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