ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install rbenv ruby-build
- Add rbenv to bash so that it loads every time you open a terminal
echo 'if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.bash_profile
source ~/.bash_profile
- git config --global color.ui true
- git config --global user.name "name"
- git config --global user.email "junip.dewan@gmail.com"
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
- Check your github connection
gem install rails -v 5.2.3
- Rails is now installed, but in order for us to use the rails executable, we need to tell rbenv to see it:
- Verify Rails is installed