user1941537
user1941537

Reputation: 6695

Cannot install Colorls on MacOS

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

Answers (1)

vooop
vooop

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

Related Questions