Macos Catalina error after update: unable to run colorls

后端 未结 5 1073
无人共我
无人共我 2021-02-14 02:25

Updating to macOS Catalina gives error on opening terminal

ERROR:  Can\'t find Ruby library file or shared library colorls
usage: dirname path
/         


        
5条回答
  •  生来不讨喜
    2021-02-14 03:02

    What solved it for me was to:

    1. Open Xcode
    2. Click on the Xcode tab at top left corner
    3. Open preferences
    4. Click on Locations Tab
    5. Select Command Line Tools

    For some reason, there were no command line tools selected, so this caused issues for me. I downloaded a beta version of Xcode, and none were selected when I updated to the latest version.

提交回复
热议问题