zshrc export RUBY_CONFIGURE_OPTS = "-with-openssl-dir=$( brew -prefix )" eval "$( rbenv init -)" Install the latest version of RubyĬheck what the latest version is at, as of it was 3.2.2. bashrc, or whatever shell you prefer, to load rbenv on subsequent invocations. If everything above goes well, you need to make sure you modify your. Before you startīefore you start, make sure you have the Command Line Tools for Xcode downloaded, and installed before you attempt any of this Install Homebrewīefore you copy/paste the following command, I highly recommend you verify that it’s the same command as listed on Homebrew’s website /bin/bash -c "$( curl -fsSL )" Install rbenv and helpers brew install rbenv ruby-build rbenv-gemset rbenv-vars rbenv init curl -fsSL | bash This post has been updated to reflect instructions for MacOS Sonoma (MacOS 14, which should be getting released or was released in the fall of 2023), depending on when you are reading this. This is an update to my older post on how to install the latest Ruby on MacOS Monterey.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |