How do I update a formula with Homebrew?
First, update brew’s internal list of formulae to the latest: brew update To upgrade only the mongodb formula, use install: brew install mongodb To upgrade all outdated formulae: brew upgrade
First, update brew’s internal list of formulae to the latest: brew update To upgrade only the mongodb formula, use install: brew install mongodb To upgrade all outdated formulae: brew upgrade
I found the solution to the problem here, so all credit goes to the author. The gist is that when you create a virtualenv, many symlinks are created to the Homebrew installed Python. Here is one example: $ ls -la ~/.virtualenvs/my-virtual-env … lrwxr-xr-x 1 ryan staff 78 Jun 25 13:21 .Python -> /usr/local/Cellar/python/2.7.7/Frameworks/Python.framework/Versions/2.7/Python … When … Read more
I just fixed a similar issue on my system. You need to rebuild your install of Ruby 2.1.2 and it will re-link against the newly-updated SSL. $ rbenv install 2.1.2 rbenv: /Users/ryan/.rbenv/versions/2.1.2 already exists continue with installation? (y/N) y Downloading ruby-2.1.2.tar.gz… -> http://dqw8nmjcqpjn7.cloudfront.net/f22a6447811a81f3c808d1c2a5ce3b5f5f0955c68c9a749182feb425589e6635 Installing ruby-2.1.2… Installed ruby-2.1.2 to /Users/ryan/.rbenv/versions/2.1.2
As you are using Homebrew the following command gives a better picture: brew doctor Output: ==> /usr/bin occurs before /usr/local/bin This means that system-provided programs will be used instead of those provided by Homebrew. This is an issue if you eg. brew installed Python. Consider editing your .bash_profile to put: /usr/local/bin ahead of /usr/bin in … Read more
The following steps work fine on macOS Sierra 10.12.4. Note that after brew installs Docker, the docker command (symbolic link) is not available at /usr/local/bin. Running the Docker app for the first time creates this symbolic link. See the detailed steps below. Install Docker. brew install –cask docker Launch Docker. Press ⌘ + Space to … Read more
Open up App Store Look in the top right for the updates section (may also be in lefthand column “Updates”..) Find Xcode & click Update
brew help will show you the list of commands that are available. brew list will show you the list of installed packages. You can also append formulae, for example brew list postgres will tell you of files installed by postgres (providing it is indeed installed). brew search <search term> will list the possible packages that … Read more
$ gem install eventmachine — –with-cppflags=-I/usr/local/opt/openssl/include Building native extensions with: ‘–with-cppflags=-I/usr/local/opt/openssl/include’ This could take a while… Successfully installed eventmachine-1.0.8 1 gem installed You can also set up bundler like this but I think that is superficial bundle config build.eventmachine –with-cppflags=-I/usr/local/opt/openssl/include
As of 2021, the answer to this question for me was that instead of brew cask install myprogram I should run: brew install –cask myprogram
There is no my.cnf by default. As such, MySQL starts with all of the default settings. If you want to create your own my.cnf to override any defaults, place it at /etc/my.cnf. Also, you can run mysql –help and look through it for the conf locations listed. Default options are read from the following files … Read more