Install rbenv and Ruby

Created: June 01, 2019 13:18 | Updated: June 01, 2019 13:18
Tags: Ruby

I don't use rbenv anymore (I have moved to asdf for the plugins), but these instructions may help someone else.

echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(rbenv init -)"' >> ~/.bashrc

mkdir -p "$(rbenv root)"/plugins
git clone "$(rbenv root)"/plugins/ruby-build

rbenv install 2.6.3 --verbose
rbenv global 2.6.3
ruby -v

Written by Alan Vardy. Let me know how I can make this better!