mirror of
https://github.com/Matir/skel.git
synced 2026-05-25 21:19:09 -07:00
Add rvm install script and key.
This commit is contained in:
@@ -1,4 +1,14 @@
|
|||||||
# Enable RVM if available
|
# Enable RVM if available
|
||||||
if [[ -s ${HOME}/.rvm/scripts/rvm ]] ; then
|
if [[ -s ${HOME}/.rvm/scripts/rvm ]] ; then
|
||||||
source ${HOME}/.rvm/scripts/rvm
|
source ${HOME}/.rvm/scripts/rvm
|
||||||
|
else
|
||||||
|
function install_rvm {
|
||||||
|
export rvm_ignore_dotfiles=yes
|
||||||
|
pushd `mktemp -d`
|
||||||
|
curl -O https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer
|
||||||
|
curl -O https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer.asc
|
||||||
|
gpg --verify rvm-installer.asc && \
|
||||||
|
bash rvm-installer stable
|
||||||
|
popd
|
||||||
|
}
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user