helm/dev/rbenv/install
2017-04-25 19:56:26 -04:00

9 lines
257 B
Bash
Executable file

#!/bin/bash
if [[ -d "$HOME/.rbenv" ]]; then
>&2 echo "~/.rbenv already exists, can't install."
else
git clone https://github.com/rbenv/rbenv.git $HOME/.rbenv
git clone https://github.com/rbenv/ruby-build.git $HOME/.rbenv/plugins/ruby-build
fi