Reputation: 6695
I'm trying to install Colorls on two separate MacBooks here (one Big Sur and the other one Monterey) but if I run:
sudo gem install colorls
I get this error:
ERROR: Error installing colorls:
ERROR: Failed to build gem native extension.
I tried several different solutions but still no chance. Any help?
Upvotes: 0
Views: 795
Reputation: 11
Run this command to install all the developer tools (such as clang, make and libc) which are usually dependencies of native gems.
xcode-select --install
Upvotes: 1