You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Executing sudo gem install doing leads to the following error on my machine (macOS Monterey 12.0.2):
Building native extensions. This could take a while...
ERROR: Error installing doing:
ERROR: Failed to build gem native extension.
current directory: /Library/Ruby/Gems/2.6.0/gems/amatch-0.4.0/ext
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby -I /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0 -r ./siteconf20211121-5453-1vbqjea.rb extconf.rb
creating Makefile
current directory: /Library/Ruby/Gems/2.6.0/gems/amatch-0.4.0/ext
make "DESTDIR=" clean
current directory: /Library/Ruby/Gems/2.6.0/gems/amatch-0.4.0/ext
make "DESTDIR="
make: *** No rule to make target `/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0/universal-darwin21/ruby/config.h', needed by `amatch_ext.o'. Stop.
make failed, exit code 2
Gem files will remain installed in /Library/Ruby/Gems/2.6.0/gems/amatch-0.4.0 for inspection.
Results logged to /Library/Ruby/Gems/2.6.0/extensions/universal-darwin-21/2.6.0/amatch-0.4.0/gem_make.out
I just tested a gem install on my own copy of Monterey with the system ruby (2.6) and it succeeded, so we just have to figure out the difference. Do you happen to have the Xcode command line tools installed?
Executing
sudo gem install doingleads to the following error on my machine (macOS Monterey 12.0.2):My ruby version:
Any hints what's wrong here? Thanks.
The text was updated successfully, but these errors were encountered: