mongodb devel cannot be installed on macosx with homebrew - macos

I tried to install mongodb development version with this command as per the documentation:
brew install mongodb --devel
But it fails with this message:
Error: No devel block is defined for mongodb
brew install mongodb works normally. I am using OSX El Capitan 10.11.2.

That didn't work because mongodb is no longer on --devel branch.
This works:
brew install -v --fresh mongodb

Related

homebrew php install on El Capitan fails # nghttp2 dependency

Following the Laravel guide to install valet on MacOS 10.11 El Capitan using homebrew, fails during php install # nghttp2 dependency
Specifically php install depends on httpd which in turn depends on nghttp2.
nghttp2 installation fails with (Brew was unable to install [nghttp2].)
Last 15 lines from /Users/<username>/Library/Logs/Homebrew/nghttp2/02.make: _LIBCPP_INLINE_VISIBILITY unique_ptr(unique_ptr&& __u) _NOEXCEPT shrpx_client_handler.cc:1002:10: error: no viable conversion from returned value of type 'unique_ptr
Do not report this issue to Homebrew/brew or Homebrew/core!
Homebrew does warn that my OS is out of date and unsupported, however, El Capitan is the latest OS that will install on my hardware.
I have tried brew installing an older version of nghttp2, thinking that might compile on El Cap, but no luck.
I'm not sure what to try next.
install before
brew install gcc
brew install --cc=gcc-8 nghttp2

Unable to install ejabberd using Homebrew on Mac

I am unable to install ejabberd using Homebrew and am left with this error. I have previously installed ejabberd but uninstalled it due to multiple issues. Any advice?
Mac version Catalina 10.15.3
Solved.
$ brew update-reset
$ brew install ejabberd

Switching Ruby versions using homebrew

One of the projects that I've been working has a dependency on ruby#2.3.
I'm using a Mac and the version of Ruby that I used for other projects is the 2.5.
I want to temporarily switch from 2.5 to 2.3 using brew. I don't want to use neither rbenv nor rvm.
1. I've installed the 2.3.7 version, using brew:
bf-old> brew install ruby#2.3
Warning: ruby#2.3 2.3.7 is already installed and up-to-date
To reinstall 2.3.7, run `brew reinstall ruby#2.3
2. I'm trying to switch to it, but it's not working:
bf-old> brew switch 2.3.7
Error: 2.3.7 not found in the Cellar.
What can I do about this?
Check if both the ruby versions are installed.
If both are installed, then try this:
brew unlink ruby#2.5 && brew link --force --overwrite ruby#2.3

How to install CouchDB on Mac OS X? (Docs not helping)

I tried installing CouchDB 1.6 via Homebrew per the instructions on the official CouchDB docs at docs.couchdb.org, but I am having no success. First, I tried the native application and that worked but apparently that version does not support CORS. It has been a frustrating experience, so any help will be greatly appreciated.
Here is the error that I am getting when trying to ping CouchDB:
curl: (7) Failed to connect to 127.0.0.1 port 5984: Connection refused
I followed the installation guide here: http://docs.couchdb.org/en/1.6.1/install/mac.html
These were the terminal commands I used:
open /Applications/Installers/Xcode\ Tools/XcodeTools.mpkg
--> File not found (this step is listed as optional, so I moved on)
brew update
brew doctor
brew install autoconf
brew install autoconf-archive
brew install automake
brew install libtool
brew install erlang
brew install icu4c
brew install spidermonkey
brew install curl
brew link icu4c
--> Requires --force option which can cause installations to fail
(I did not do the --force option)
brew link erlang
brew install couchdb
--> To test CouchDB run: curl http://127.0.0.1:5984/
curl http://127.0.0.1:5984/
--> curl: (7) Failed to connect to 127.0.0.1 port 5984: Connection refused
Mac Info:
MacBook Pro (Retina, 13-inch, Late 2013)
OS X Yosemite
Version 10.10.3
My guess is that it is installed, but just not running. Can you try running couchdb -d?
That should start it up in the background, if you need it to run on every startup, you can continue following the instructions for "Running as a Daemon"

How to upgrade to HEAD version of MongoDB in OS X homebrew?

I installed mongoDB via
brew install mongodb --devel
How would I go about upgrading the HEAD since I didn't use the --HEAD flag during installation?

Resources