![]() This is a good solution if you dont want to update to High Sierra just yet. However, if your terminal returns a “command not found: brew” message, you’ll need to complete one more step before moving on (this will be true for most Apple silicon computers, produced after late 2020). Updating to the latest Ruby (2.5) and latest CocoaPods (1.4) fixed this for me without having to do anything with openssl (Ruby updates openssl).If your terminal returns a version of Homebrew (an example might be “Homebrew 3.1.5”, but keep in mind you may have a different version number, and that’s okay!), you are ready to move on to the next section, Install rbenv, below.This will either return your current Homebrew version or a message telling you the brew command cannot be found. When the installation is complete, type brew -v into the terminal and press “Enter”.Just enter your password for your computer then press enter. When you do so in the command line, you won’t see anything happen. Commands I have tried both as root and not as root: sudo brew install ruby2.2.2 and brew install ruby2.2.2 results in error sudo gem update -system 2.2.2 and gem update -system 2.2.2 results in the program aborting itself rvm is not installed. If you need a different (newer) version of RVM, after installing base version of RVM check the Upgrading section. Note: you may be prompted to enter your password. I need to be using Ruby 2.2.2 but my macOS came with 2.6.3. The terminal will then prompt you to press “Enter” once more to continue the install.Paste this script you just copied into the terminal prompt and press “Enter”. Locate and copy the script in the box underneath the text Install Homebrew on the Homebrew webpage.Open your terminal by clicking “Command (⌘) + Spacebar”, typing terminal into the spotlight box that appears, and pressing “Enter”.Open the Homebrew webpage in your browser.You’ll need to use Homebrew to install rbenv. Note: this may take some time to install. Type xcode-select -install into the terminal window and press “Enter” to start the installer.If no version is output, follow the next step in this section. ![]() If Xcode is installed, you should see the version number output in the terminal and you can move on to the Install Homebrew section below.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |