Sha256: b7088920396e4a4a7102aa719a176ed431f571ef5d637308970085dbff9ed3eb
Contents?: true
Size: 428 Bytes
Versions: 6
Compression:
Stored size: 428 Bytes
Contents
#!/bin/bash # Calculates a default rvm path # Check first. if [[ -n "$rvm_path" ]]; then echo "$rvm_path" exit fi # Load extra files. [[ -s ~/.rvmrc ]] && source ~/.rvmrc >/dev/null 2>&1 [[ -s /etc/rvmrc ]] && source /etc/rvmrc >/dev/null 2>&1 if [[ -n "$rvm_path" ]]; then echo "$rvm_path" elif [[ -d ~/.rvm ]]; then echo "~/.rvm" elif [[ -d /usr/local/rvm ]]; then echo "/usr/local/rvm" else exit 1 fi exit 0
Version data entries
6 entries across 6 versions & 1 rubygems