Sha256: d4732604457bd059ef9a3623b2bef424e8d34c7e0994d4055557270ec703f1d8
Contents?: true
Size: 652 Bytes
Versions: 10
Compression:
Stored size: 652 Bytes
Contents
#!/usr/bin/env bash rvm_ignore_rvmrc=${rvm_ignore_rvmrc:-0} if [[ $rvm_ignore_rvmrc -eq 0 ]]; then [[ -s /etc/rvmrc ]] && source /etc/rvmrc [[ -s "$HOME/.rvmrc" ]] && source "$HOME/.rvmrc" fi rvm_path="${rvm_path:-$HOME/.rvm}" [ -d "$rvm_path/src" ] || \mkdir -p $rvm_path/src/ cd "$rvm_path/src" [ -d ./rvm ] && \rm -rf ./rvm/ git clone --depth 1 git://github.com/wayneeseguin/rvm.git || git clone http://github.com/wayneeseguin/rvm.git cd rvm && # v v v This is a good idea however it does not preserve the executible bit. # Needs more thought, perhaps a simple sed instead... # dos2unix scripts/* >/dev/null 2>&1 bash scripts/install
Version data entries
10 entries across 10 versions & 1 rubygems