Brew won't Update on OSX 10.13.6 High Sierra


(Steven ) #1

After Apple updates brew first complained that my Xcode 9.1 was too old. After updating Xcode tp 10.1 brew now says " Your Xcode (1) is too outdated. Please update to Xcode 9.2 (or delete it)." It apparently thinks version 10.1 is version 1. Additionally it says " Ruby version 2.3.7 is unsupported on 10.13. Homebrew is developed and tested on Ruby 2.3.3, and may not work correctly on other Rubies. Patches are accepted as long as they don’t cause breakage on supported Rubies."


(Steven ) #2

Is there a workaround?


(Sean Molenaar) #3

What happens when you run brew update?


(Steven ) #4

As I previously indicated, it complains that my Xcode is too old. I have 10.1 but it reports it as version 1 and says I must upgrade to 9.2.


(Sean Molenaar) #5

what is the exact output? And could you try with --force?


(Steven ) #6

Warning: Ruby version 2.3.7 is unsupported on 10.13. Homebrew is developed and tested on Ruby 2.3.3, and may not work correctly on other Rubies. Patches are accepted as long as they don't cause breakage on supported Rubies.

Warning: Your Xcode (1) is too outdated.
Please update to Xcode 9.2 (or delete it).
Xcode can be updated from the App Store.

Warning: Your Xcode (1) is outdated.
Please update to Xcode 9.2 (or delete it).
Xcode can be updated from the App Store.,/em>

After that it appears to hang. My Xcode is version 10.1 (not 1) and I’m running OSX 10.13.6. Things worked fine a few months back.

–force seems to work. I was unaware of that option.