Created
February 22, 2017 00:59
-
-
Save ajosephau/d6c24dd3457d0e47060c0c405b0b5ce0 to your computer and use it in GitHub Desktop.
Setting up ruby on rails
This file contains hidden or 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
# 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