

Now, I wish to install Homebrew which requires Xcode command line tools to be installed.
#Brew install fastlane command line tool mac#
Immediately after that I installed Xcode Version 10.0 (10A255) from the Mac App Store. I am not committing plagiarism, simply aggregating the answers into one integrated article to help others. 16 I performed a fresh install of macOS Mojave 10.14. If this does not help, either, you can also modify the MACOS check and change it from 10.5 to 10 to avoid the infamous "Homebrew requires Leopard or higher" error.Ī bunch of thanks to other contributors in the answers below and their commenters.

If you get No such file or directory, then you can easily create a symbolic link to your Ruby installation. In case you have not ever tampered with your Ruby installation, you can check to see if /usr/bin/ruby already exists or not: cat /usr/bin/ruby. If this is anything other than /usr/bin/ruby then homebrew (and a bunch of other programs) will not be able to find it. This should give you the absolute path to your Ruby executable. If you don't, your installation is broken and you need to reinstall it. To identify if this is the first case, you can run ruby and see if you get any response.

In case you already have Xcode installed, this means that one of these things is happening: This will install the Ruby interpreter for you.
#Brew install fastlane command line tool download#
Install Apple Developer Kit (comes with Xcode) which should be available to you as an optional install (or you can simply download it from Apple). What you are getting means that Homebrew has not been able to locate the Ruby interpretter at the specified location.
