If you haven't done so, first install Xcode Command Line Tools (xcode-select --install) and homebrew
Install required dependencies w/ homebrew
brew install \
git coreutils automake autoconf openssl \
libyaml readline libxslt libtool unixodbc \
unzip curl libffi gpg wget yarn redisSet redis to run as service w/ launchd
brew services start redisInstall asdf version manager w/ git
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.7.4Add asdf to your shell
echo -e '\n. $HOME/.asdf/asdf.sh' >> ~/.zshrc
echo -e '\n. $HOME/.asdf/completions/asdf.bash' >> ~/.zshrcReload your shell
exec $SHELLAdd the asdf Ruby plugin
asdf plugin-add ruby https://github.com/asdf-vm/asdf-ruby.gitInstall the latest Ruby and set it as the Ruby for your system
asdf install ruby 2.6.5
asdf global ruby 2.6.5Reload your shell
exec $SHELLVerify Ruby version outputs 2.6.5
ruby -vTell RubyGems to not install documentation for each gem (optional, but speeds things up)
echo "gem: --no-ri --no-rdoc" > ~/.gemrcInstall Ruby on Rails framework
gem install railsAdd the asdf Node plugin and key
asdf plugin-add nodejs https://github.com/asdf-vm/asdf-nodejs.gitImport Node team's keys
bash ~/.asdf/plugins/nodejs/bin/import-release-team-keyringInstall the latest stable Node version and set it as the Node version for your system
asdf install nodejs 10.16.3
asdf global nodejs 10.16.3Reload your shell
exec $SHELLVerify Node version outputs 10.16.3
node -vDownload Postgres.app and follow the installation/setup instructions on their website.