Skip to content

Instantly share code, notes, and snippets.

@LinuxIntellect
Created May 10, 2020 10:41
Show Gist options
  • Save LinuxIntellect/379eb2375b1421457f64cb14bd37b8a3 to your computer and use it in GitHub Desktop.
Save LinuxIntellect/379eb2375b1421457f64cb14bd37b8a3 to your computer and use it in GitHub Desktop.
Ruby Compiler Unstallation
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