Created
January 16, 2022 20:17
-
-
Save UbuntuEvangelist/02a9f63094bb16902162292eb5e79bdf to your computer and use it in GitHub Desktop.
Ruby Install Ubuntu 20.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
sudo -i | |
apt install gcc autoconf curl g++ gnupg automake bison libc6-dev libffi-dev libgdbm-dev libncurses5-dev libsqlite3-dev pkg-config sqlite3 zlib1g-dev libtool libyaml-dev make libgmp-dev libreadline-dev libssl-dev | |
gpg2 --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB | |
\curl -sSL https://get.rvm.io | bash -s stable --rails | |
source /etc/profile.d/rvm.sh | |
usermod -a -G rvm $USER | |
rvm user gemsets | |
rvm install 2.6.5 | |
rvm use 2.6.5 --default | |
ruby -v | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment