Skip to content

Instantly share code, notes, and snippets.

@davidfeldi
Forked from kainam00/rvm-amazon-linux.bash
Created January 11, 2018 12:15
Show Gist options
  • Save davidfeldi/9683b330e0f7b71c58245e227878212b to your computer and use it in GitHub Desktop.
Save davidfeldi/9683b330e0f7b71c58245e227878212b to your computer and use it in GitHub Desktop.

Revisions

  1. @kainam00 kainam00 created this gist Jul 31, 2015.
    10 changes: 10 additions & 0 deletions rvm-amazon-linux.bash
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    #!/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