Skip to content

Instantly share code, notes, and snippets.

@UbuntuEvangelist
Created January 16, 2022 20:17
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save UbuntuEvangelist/02a9f63094bb16902162292eb5e79bdf to your computer and use it in GitHub Desktop.
Save UbuntuEvangelist/02a9f63094bb16902162292eb5e79bdf to your computer and use it in GitHub Desktop.
Ruby Install Ubuntu 20.04 LTS
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