Created
May 10, 2020 10:41
-
-
Save LinuxIntellect/379eb2375b1421457f64cb14bd37b8a3 to your computer and use it in GitHub Desktop.
Ruby Compiler Unstallation
This file contains 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
sudo apt update | |
sudo apt install nodejs | |
sudo apt install npm | |
nodejs -v | |
sudo apt update | |
sudo apt install autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev | |
git clone https://github.com/rbenv/rbenv.git ~/.rbenv | |
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc | |
echo 'eval "$(rbenv init -)"' >> ~/.bashrc | |
source ~/.bashrc | |
type rbenv | |
rbenv install -l | |
rbenv install 2.5.3 | |
rbenv global 2.5.3 | |
ruby -v | |
Irb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment