Skip to content

Instantly share code, notes, and snippets.

@rwmotivation
Forked from kainam00/rvm-amazon-linux.bash
Created February 27, 2021 16:31
Show Gist options
  • Save rwmotivation/843cd8ebc2e0108e6eb78f62679b4920 to your computer and use it in GitHub Desktop.
Save rwmotivation/843cd8ebc2e0108e6eb78f62679b4920 to your computer and use it in GitHub Desktop.
Install RVM on Amazon Linux
#!/bin/bash
# Install prerequisites
yum install -y gcc openssl-devel libyaml-devel libffi-devel readline-devel zlib-devel gdbm-devel ncurses-devel ruby-devel gcc-c++ jq git
# Import key
curl -sSL https://rvm.io/mpapis.asc | gpg2 --import -
# Install RVM
curl -sSL https://get.rvm.io | bash -s stable --ruby
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment