I try to install HomeBrew but when I try it, it stops after update. When I close this with ctrl + c then it looks like HomeBrew was installed but when I try to install some app the again stop after update.
I fixed that issue by reinstalling HomeBrew.
Related
MacOS: Ventura 13.1
I have several packages on my Mac installed using Homebrew. I am dealing with a situation, following the update to Ventura 13.1, where the only solution may be to uninstall and re-install Homebrew.
What are my options, if I want to make sure all the tools/apps I installed using Homebrew are re-installed when the process is done?
It should be as simple as:
brew bundle dump
which creates a Brewfile of all your taps and packages, followed by:
brew bundle
which reinstalls everything you had before from the Brewfile.
I'm trying to install Xdebug on macOS Catalina but home-brew no longer allowed to run as root. Worked fine before Catalina update.
I was running Xdebug under Mojave but Catalina upgrade broke it. Removed extension to reinstall and then hit hombrew issue: get the following error when running brew as root:
Error: Running Homebrew as root is extremely dangerous and no longer supported.
As Homebrew does not drop privileges on installation you would be giving all
build scripts full access to your system.
Brew should be working without using sudo.
If that's not the case, your homebrew install is broken and you might need to reinstall it.
In any case brew doctor is something you can always consult.
After you got your homebrew fixed,
looking into Can't install xdebug on Mac with Homebrew might be of help.
Updating homebrew should do the trick -
brew update
I am trying to install Ruby on Rails on Mountain Lion. It says that libyaml is a dependency for ROR. I go to run brew install libyaml and it tries to download http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz
Brew always returns with " curl: (7) couldn't connect to host"
This site no longer exists or is down. Does anyone have any ideas on how to fix this? I already tried brew update.
I feel like an idiot. Apparently my school blocks the URL's needed in the download process. Not ever a real problem.
I am trying to remove imagick, it's installed via brew.
If I run brew remove imagick or brew uninstall imagick, I get
Error: No such keg: /usr/local/Cellar/imagick
How to fix it? Google didn't really help me.
Try to run
brew doctor
and follow the instructions. Hope that will fix it.
I installed PhantomJS today and got this error trying to use it:
PhantomJS version 1.4.0
is too old. You must use at least version 1.7.0
(Capybara::Poltergeist::PhantomJSTooOld)
How can I install the newer version?
I can get the newer version (1.7) at: http://phantomjs.org/download.html
Once I've downloaded it though how do I actually install it?
Are you using Linux or OS X? You'll need to either build from source or install an updated PhantomJS package. You can also download the binaries and install over the system installed PhantomJS. Type "which phantomjs" and it should show the location of PhantomJS.
If you're using homebrew, just:
brew upgrade phantomjs
I had to solve this problem yesterday, it required me updating brew, telling brew to uninstall phantomJS, then updating xcode, then installing the latest xcode command utilities, then using brew to re-install phantomjs. Finally that got it to pull in the latest version. You might try this (mac):
brew update
brew uninstall phantomjs
brew doctor (follow the fixes it recommends if any... Mine was updating xcode)
brew install phantomjs
At that point it should grab the latest.
Good luck!