Created
November 1, 2019 17:49
-
-
Save zicodhkbd/4de7852e87538c79d9fa92663ed3598b to your computer and use it in GitHub Desktop.
Ruby on Ubuntu 18.04 LTS
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
#!/bin/sh | |
sudo apt update && sudo apt upgrade -y | |
cd ~/Downloads/ | |
sudo wget https://cache.ruby-lang.org/pub/ruby/2.5/ruby-2.5.3.zip | |
sudo apt-get install unzip -y && | |
sudo unzip ruby-2.5.3.zip -d ~/Downloads/ | |
cd ruby-2.5.3 && sudo ./configure && sudo make && sudo make install | |
ruby --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment