Last active
April 5, 2023 14:38
-
-
Save DevGW/1e7362778206e8db9e9a2cf9b6c3dd30 to your computer and use it in GitHub Desktop.
Ruby :: Installing Ruby via Homebrew #ruby #mac
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
/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