brew audit
fails to run because of gem installation failure
#3
-
I'm posting here because I'm not sure this would occur with the other box, though this is reproducible with my box. Bug reportPlease note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.
What you were trying to do (and why)
What happened (include command output)It failed to run because of gem installation failure. Command outputFetching gem metadata from https://rubygems.org/......... Using concurrent-ruby 1.1.7 Using minitest 5.14.2 Using thread_safe 0.3.6 Using zeitwerk 2.4.0 Using ast 2.4.1 Using bindata 2.4.8 Using bundler 1.17.2 Using docile 1.3.2 Fetching byebug 11.1.3 Fetching json 2.3.1 Using simplecov-html 0.12.2 Using coderay 1.1.3 Using colorize 0.8.1 Using highline 2.0.3 Using connection_pool 2.2.3 Using diff-lcs 1.4.4 Fetching unf_ext 0.0.7.7 Installing byebug 11.1.3 with native extensions Installing json 2.3.1 with native extensions Installing unf_ext 0.0.7.7 with native extensions Fetching hpricot 0.8.6 Installing hpricot 0.8.6 with native extensions Using mime-types-data 3.2020.0512 Using net-http-digest_auth 1.4.1 Using mini_portile2 2.4.0 Using ntlm-http 0.1.1 Using webrobots 0.1.2 Using method_source 1.0.0 Using mustache 1.1.1 Using parallel 1.19.2 Using rainbow 3.0.0 Using sorbet-runtime 0.5.5891 Using plist 3.5.0 Fetching rdiscount 2.2.0.2 Installing rdiscount 2.2.0.2 with native extensions Using regexp_parser 1.7.1 Using rexml 3.2.4 Using rspec-support 3.9.3 Using ruby-progressbar 1.10.1 Using unicode-display_width 1.7.0 Using ruby-macho 2.2.0 Using sorbet-static 0.5.5891 (universal-darwin-19) Using thor 1.0.1 Using i18n 1.8.5 Using tzinfo 1.2.7 Using elftools 1.1.3 Using parser 2.7.1.4 Using simplecov 0.19.0 Using commander 4.5.2 Using net-http-persistent 4.0.0 Using mime-types 3.3.1 Fetching nokogiri 1.10.10 Installing nokogiri 1.10.10 with native extensions Using pry 0.13.1 Using parallel_tests 3.2.0 Using rspec-core 3.9.2 Using rspec-expectations 3.9.2 Using rspec-mocks 3.9.1 Using sorbet 0.5.5891 Using activesupport 6.0.3.2 Using patchelf 1.3.0 Using rubocop-ast 0.3.0 Using parlour 4.0.1 Using rspec-retry 0.6.2 Using rspec-its 1.3.0 Using rspec 3.9.0 Using spoom 1.0.4 Gem::Ext::BuildError: ERROR: Failed to build gem native extension. What you expected to happenSuccessfully run Step-by-step reproduction instructions (by running
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Yea, this is a pretty common error with system Ruby on the newer macOS versions, related to your Xcode, CLT installs, or mixing system and brewed Ruby. Stack Overflow has a few things that you could try, check out this link: https://stackoverflow.com/questions/53135863/macos-mojave-ruby-config-h-file-not-found |
Beta Was this translation helpful? Give feedback.
-
Thank you for your advice, CLT was the culprit in my case.
I wish there's an FAQ or troubleshooting documentation for this kind of problem, as beginner contributors occasionally come across this. |
Beta Was this translation helpful? Give feedback.
Yea, this is a pretty common error with system Ruby on the newer macOS versions, related to your Xcode, CLT installs, or mixing system and brewed Ruby. Stack Overflow has a few things that you could try, check out this link: https://stackoverflow.com/questions/53135863/macos-mojave-ruby-config-h-file-not-found