Last active
August 4, 2021 04:24
-
-
Save johncorderox/aa8d4892a5faebcadf9396c03b27976a to your computer and use it in GitHub Desktop.
Download Ruby on Ubuntu
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
# Ruby 2.6.4 | |
sudo apt update && sudo apt -y upgrade && sudo apt -y install build-essential libpq-dev git memcached cifs-utils nginx redis-server nodejs imagemagick libtiff-dev ghostscript | |
sudo apt-get install graphicsmagick-imagemagick-compat | |
## Machine | |
sudo apt-get install git | |
# ruby-install https://github.com/postmodern/ruby-install | |
mkdir -p ~/src | |
cd ~/src | |
wget -O ruby-install-0.7.0.tar.gz https://github.com/postmodern/ruby-install/archive/v0.7.0.tar.gz | |
tar -xzvf ruby-install-0.7.0.tar.gz | |
cd ruby-install-0.7.0/ | |
sudo make install | |
# chruby https://github.com/postmodern/chruby | |
cd ~/src | |
wget -O chruby-0.3.9.tar.gz https://github.com/postmodern/chruby/archive/v0.3.9.tar.gz | |
tar -xzvf chruby-0.3.9.tar.gz | |
cd chruby-0.3.9/ | |
sudo make install | |
# install ruby | |
ruby-install ruby 2.6.4 | |
echo "It's done......~" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bunch of basics here, and thanks nick!