Created
January 9, 2018 10:08
-
-
Save rhuanbarreto/ef0fe8028460848e9ca6159ac201899e to your computer and use it in GitHub Desktop.
Install Ruby on Rails on Mac OS
This file contains 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
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