-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
a lot of error after updating to mojave #4975
Comments
+1.
I only tried setting the remote origin of the git repository but I got My config:
|
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. |
try |
Worked for me. Thanks! |
Run |
|
@FradSer What is the specific error you're seeing? |
I just did a fresh install of Mojave and installed xcode as the first thing. Then installed brew using the installer off brew.sh. I think the installer might be installing an old version of command line tools which cause some kind of confligt since the installer tried to install command line tools for High Sierra.
|
@MikeMcQuaid My error is:
Maybe the problem is version of Ruby?
My Ruby is
|
@FradSer None of those errors are from Homebrew. |
@MikeMcQuaid Get it. Sent with GitHawk |
@kirkegaard I've uninstall command line tools with |
I'm also getting this on a secondary install (like not on my main Mac) and have not yet found a solution that worked. |
This isn't really an issue of Homebrew. Running
I've tried running the suggested
After running, I still get the same results. Has anyone else found a solution for this yet? |
Hey @monouser7dig and @jonleopard, I had success with Mike's solution:
Any luck for you two? |
@FradSer if I can help you reproduce the issue I'd be happy to do so. I'd be curious to see the error on |
|
I also have this problem, here's what I've tried:
|
and here's the log:
I think the problem is:
|
this 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
|
While this installs bigdecimal-1.3.5, it looks like brew is not picking it up, resulting in the same error message:
|
it doesn't pick it up because it uses it's own embedded ruby, not the one from your system. |
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? |
Yeah |
same conclusion from my side. |
I'm also on Mojave, a Ruby developer and cannot reproduce this using either Homebrew's Ruby or the system Ruby with Homebrew. If someone can submit a pull request or provide step-by-step instructions that are reproducible on my or a clean Mojave install we can look at this further. |
Here is my brew config:
brew doctor says that my 'command line tools' should be updated:
But I have the last version available with App Store...
My homebrew repository is clean and updated:
But when I ask for 'brew update' or 'brew upgrade', there are the following warnings:
The ruby 'bigdecimal' package is installed (1.3.5, but I also switch on 1.3.4) in the system repository. It is not critical, since everything is working ! |
You should do that and try again. |
Since |
@ramet Same issue as me.
|
That's not the version. The version is from |
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:
|
@ndreca's solution worked for me as well. Remove brew installed rbenv, install bigdecimal, and then reinstall rbenv.
|
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 and everything's fine now. Hope it helps |
This worked for me, thanks! |
This approach worked for me as well: the fix for me was to run
in order to resolve the error message
|
@davosian 🙏 |
Locking this thread to avoid more "me too" comments and it seems the above solutions are resolving this for people. |
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.
brew
command 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 cask
problem 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.brew update
and can still reproduce the problem?brew doctor
, fixed all issues and can still reproduce the problem?brew config
andbrew doctor
and included their output with your issue?To help us debug your issue please explain:
to update homebrew after installing mojave
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
brew to update
brew
commands)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: f239b7a
Last commit: 3 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: fe7334d
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
The text was updated successfully, but these errors were encountered: