Skip to content

Instantly share code, notes, and snippets.

@ajosephau
Created February 22, 2017 00:59
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 ajosephau/d6c24dd3457d0e47060c0c405b0b5ce0 to your computer and use it in GitHub Desktop.
Save ajosephau/d6c24dd3457d0e47060c0c405b0b5ce0 to your computer and use it in GitHub Desktop.
Setting up ruby on rails
# setup instructions
## Install atom: https://atom.io
## Install rails - Mac (run commands in Terminal)
### install xcode developer tools
xcode-select --install
### Install homebrew (if needed) https://brew.sh/ - run this command
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
### install openssl
brew install openssl
### install ruby via ruby version manager (RVM)
\curl -sSL https://get.rvm.io | bash
rvm reinstall 2.4.0 --with-openssl-dir=/usr/local/opt/openssl
rvm list # check ruby versions installed
rvm use 2.4.0 --default
gem install rails # Might need to run "brew reinstall xz --universal" if get nokogiri errors
## install rails on Windows
http://blog.teamtreehouse.com/installing-rails-5-windows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment