Sha256: fd98fb5b49dd7e09fe136a21dc2d089127052029da231d10605bcdf9a5976d99

Contents?: true

Size: 611 Bytes

Versions: 5

Compression:

Stored size: 611 Bytes

Contents

#!/usr/bin/env bash

if [[ -z "$rvm_ignore_rvmrc" ]]; 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

5 entries across 5 versions & 1 rubygems

Version Path
rvm-1.0.2 binscripts/rvm-update-head
rvm-1.0.1 binscripts/rvm-update-head
rvm-1.0.0 binscripts/rvm-update-head
rvm-0.1.47 binscripts/rvm-update-head
rvm-0.1.46 binscripts/rvm-update-head