-
Open a Terminal window
-
Install Xcode command line tools:
xcode-select --install(Follow pop-up prompts to install command-line tools)
-
Install the homebrew package manager:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"You may be prompted for your admin password. It's fine. The installer needs to set the right permissions on
/usr/local. -
Install the asdf version manager:
brew install asdf -
Configure your shell to load asdf:
echo 'export ASDF_DIR=$(brew --prefix asdf)' >> ~/.bash_profile echo '. $ASDF_DIR/asdf.sh' >> ~/.bash_profile -
Close your Terminal window and open a new one.
-
Install ruby:
asdf plugin-add ruby asdf install ruby 2.5.5 asdf global ruby 2.5.5 asdf reshim ruby -
Install rails:
gem install --no-doc rails -v 5.2.3
Last active
April 9, 2019 15:06
-
-
Save mbklein/3d70f4b8b621940a1c4eb973685301ce to your computer and use it in GitHub Desktop.
Going from Zero to Rails on OS X
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment