Last active
March 3, 2022 22:44
-
-
Save karlbaillie/de80e3c1c4658f05b77ff52c0bb23bef to your computer and use it in GitHub Desktop.
Install rbenv on Ubuntu 20.04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd ~ | |
git clone https://github.com/rbenv/rbenv.git ~/.rbenv | |
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.zshrc | |
echo 'eval "$(rbenv init -)"' >> ~/.zshrc | |
rbenv init | |
sudo apt-get install -y libssl-dev zlib1g-dev | |
rbenv install 2.7.1 | |
rbenv global 2.7.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment