Skip to content

Instantly share code, notes, and snippets.

@bertoort
Last active October 23, 2017 19:16
Show Gist options
  • Save bertoort/f4ac7d47d48c568490c8 to your computer and use it in GitHub Desktop.
Save bertoort/f4ac7d47d48c568490c8 to your computer and use it in GitHub Desktop.
Rails install

First, Intall RVM

curl -sSL https://get.rvm.io | bash -s stable --rails

Load RVM into your shell sessions as a function

source ~/.rvm/scripts/rvm

rvm user gemsets

Test - should return rvm is a function

type rvm | head -n 1

Install Ruby 2.1.5

rvm install 2.1.5

rvm use 2.1.5

Intalling Rails

gem install rails -v 4.1.8

If you run into issues not being able to locate gems, set GEM_HOME="$HOME/.gems"

Test

rails -v

Installing Bundler

gem install bundler

Resources

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment