Skip to content

Instantly share code, notes, and snippets.

@ShawnHuang
Created November 23, 2018 06:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ShawnHuang/9750e6c58ae472c99ae2556b52146640 to your computer and use it in GitHub Desktop.
Save ShawnHuang/9750e6c58ae472c99ae2556b52146640 to your computer and use it in GitHub Desktop.
$ \curl -sSL https://get.rvm.io | bash
$ source /home/<user>/.rvm/scripts/rvm
$ rvm -v
$ rvm install ruby
$ ruby -v
$ sudo apt-get install rubygems
$ gem update
$ sudo apt-get install ruby-dev zlib1g-dev liblzma-dev build-essential patch
$ rvm gemset list
$ gem install rails
$ rails -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment