Install rbenv and Ruby
2019-06-01
I don’t use rbenv anymore (I have moved to asdf for the plugins), but these instructions may help someone else.
Install rbenv first from the package manager of your choice.
Configure it for your terminal
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(rbenv init -)"' >> ~/.bashrc
exit
Install the rbenv Ruby plugin
mkdir -p "$(rbenv root)"/plugins
git clone https://github.com/rbenv/ruby-build.git "$(rbenv root)"/plugins/ruby-build
Install Ruby (this does it globally)
rbenv install 2.6.3 --verbose
rbenv global 2.6.3
ruby -v
Like what you see?
Related Posts
2018-12-09
2019-06-01
2019-06-01
2019-06-01
2018-12-07