Created
July 31, 2015 15:31
-
-
Save kainam00/a5593550a3dbd77f1b3b to your computer and use it in GitHub Desktop.
Install RVM on Amazon Linux
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/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
If any one faced
Error running '__rvm_make -j1'
please refer to the instruction from aws:
https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/ruby-development-environment.html
and rvm/rvm#5209