Skip to content

Instantly share code, notes, and snippets.

@rhuanbarreto
Created January 9, 2018 10:08
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 rhuanbarreto/ef0fe8028460848e9ca6159ac201899e to your computer and use it in GitHub Desktop.
Save rhuanbarreto/ef0fe8028460848e9ca6159ac201899e to your computer and use it in GitHub Desktop.
Install Ruby on Rails on Mac OS
brew install rbenv ruby-build
echo 'if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.bash_profile
source ~/.bash_profile
rbenv install 2.3.6
rbenv global 2.3.6
ruby -v
gem install rails -v 5.0.6
rbenv rehash
rails -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment