brew: a lot of error after updating to mojave
Please 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.
- are reporting a bug others will be able to reproduce and not asking a question. If you’re not sure or want to ask a question do so on our Discourse: https://discourse.brew.sh
- ran a
brewcommand and reproduced the problem with multiple formulae? If it’s a problem with a single, official formula (not cask) please file this issue at Homebrew/homebrew-core: https://github.com/Homebrew/homebrew-core/issues/new/choose. If it’s abrew caskproblem please file this issue at https://github.com/Homebrew/homebrew-cask/issues/new/choose. If it’s a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap. - ran
brew updateand can still reproduce the problem? - ran
brew doctor, fixed all issues and can still reproduce the problem? - ran
brew configandbrew doctorand included their output with your issue?
To help us debug your issue please explain:
- What you were trying to do (and why) to update homebrew after installing mojave
- What happened (include command output) brew update Ignoring bigdecimal-1.3.5 because its extensions are not built. Try: gem pristine bigdecimal --version 1.3.5 Ignoring bigdecimal-1.3.5 because its extensions are not built. Try: gem pristine bigdecimal --version 1.3.5
- What you expected to happen brew to update
- Step-by-step reproduction instructions (by running
brewcommands)
brew config Ignoring bigdecimal-1.3.5 because its extensions are not built. Try: gem pristine bigdecimal --version 1.3.5 HOMEBREW_VERSION: 1.7.6 ORIGIN: https://github.com/Homebrew/brew HEAD: f239b7a62790cfb4f33bda9aab7597d43f1b1e3b Last commit: 3 days ago Core tap ORIGIN: https://github.com/Homebrew/homebrew-core Core tap HEAD: fe7334d3c60777926ec25d42e40546601ea3c662 Core tap last commit: 89 minutes ago HOMEBREW_PREFIX: /usr/local HOMEBREW_GIT: git HOMEBREW_MACOS_VERSION_NUMERIC: 101400 CPU: octa-core 64-bit kabylake Homebrew Ruby: 2.3.7 => /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby Clang: 10.0 build 1000 Git: 2.17.1 => /Applications/Xcode.app/Contents/Developer/usr/bin/git Curl: 7.54.0 => /usr/bin/curl Java: 10.0.2 macOS: 10.14-x86_64 CLT: N/A Xcode: 10.0 XQuartz: N/A
brew doctor Ignoring bigdecimal-1.3.5 because its extensions are not built. Try: gem pristine bigdecimal --version 1.3.5 Please note that these warnings are just used to help the Homebrew maintainers with debugging if you file an issue. If everything you use Homebrew for is working fine: please don’t worry or file an issue; just ignore this. Thanks!
Warning: The following directories do not exist: /usr/local/sbin
You should create these directories and change their ownership to your account. sudo mkdir -p /usr/local/sbin sudo chown -R $(whoami) /usr/local/sbin
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 9
- Comments: 39 (9 by maintainers)
so that means that it actually is an issue related to homebrew and cannot be resolved by some other measure other than an update for homebrew, right?
try
xcode-select --installin Terminal.This worked for me: Open Xcode, go to Preferences, go to Locations, update the Command Line Tools in the drop down to Xcode 10.0.
I solved the problem by identifying the gem command actually used by brew, which is (for me, with mojave just installed) under /usr/bin/gem. Use this absolute path sudo /usr/bin/gem pristine bigdecimal --version 1.3.3 sudo /usr/bin/gem pristine bigdecimal --version 1.3.4
and everything’s fine now. Hope it helps
Workaround solution for me ( I had ruby 2.5.1 installed by brew due to vim dependency)
The solution from @ndreca is also working for me:
First uninstall ‘rbenv’ with dep on ‘ruby-build’
Then run
sudo gem install bigdecimalsudo gem pristine bigdecimal --version 1.3.4this is a problem with the portable version of ruby that comes with Homebrew, if I use the version of ruby that I have installed on my mac I can install
bigdecimal:I’m also getting this on a secondary install (like not on my main Mac) and have not yet found a solution that worked.