Skip to content

Instantly share code, notes, and snippets.

@DevGW
Last active April 5, 2023 14:38
Show Gist options
  • Save DevGW/1e7362778206e8db9e9a2cf9b6c3dd30 to your computer and use it in GitHub Desktop.
Save DevGW/1e7362778206e8db9e9a2cf9b6c3dd30 to your computer and use it in GitHub Desktop.
Ruby :: Installing Ruby via Homebrew #ruby #mac
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# then follow this link: https://www.digitalocean.com/community/tutorials/how-to-install-ruby-on-rails-with-rbenv-on-macos commands from this link are below:
brew install rbenv
nano .bash_profile
# etc.: keep following the instructions on that link.
# don't worry about the type rbenv verification
# install the version you need:
rbenv install 2.6.3 #or whatever
# keep following the directions to install bundler and rails
# make sure you have xcode already installed or you might run into error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment