To upgrade to the latest rbenv and update ruby build with newly released ruby versions upgrade the homebrew packages.
Brew update brew upgrade ruby build.
Here is the link to the origin issue in homebrew.
Ruby build installs a non homebrew openssl for each ruby version installed and these are never upgraded.
Brew update brew upgrade ruby build rbenv install 2 1 1 this will update brew upgrade ruby build and install ruby 2 1 1 in 3 easy steps.
Try to install brew a fresh and it will tell how to uninstall.
Alternatively you can install postgres with brew install postgres.
Brew upgrade rbenv ruby build.
I choose postgres app begause it is supported directly by heroku and i like to think there is a parity win there somewhere.
Here what you need to do.
If you prefer a manual approach follow the steps below.
When automatic brew cleanup is disabled if you uninstall a formula it will only remove the latest version you have installed.
To link rubies to homebrew s openssl 1 1 which is upgraded add the following.
Brew update not working after git pull origin master.
I also took the opportunity to upgrade to the latest postgres app.
Respond 7 responses add your response.
Your broken brew update will automatically be updated before at first run.
Ruby build does not check for system dependencies before downloading and.
Think i did this as el capitan changed something note.
For a more automated install you can use rbenv installer.
This is a heavy handed approach that will remove all applications installed via brew.
Alternatively you could update brew by installing it again.
Written by andrei popa.
Ryan if you run into this error.
It is available as a plugin for rbenv that provides the rbenv install command or as a standalone program.
May 08 2014 01 45.
Brew install git openssl readline libyaml gdbm inception.
Cd usr local git pull origin master brew install git now you might already have git on your system but what this will do it that now.
Homebrew will continue to attempt to install the newest version it knows about when you run brew upgrade this can be surprising.
This got linked in issue 266 of rubyweekly.
Brew update brew upgrade ruby build dependencies let s install a few dependencies.
Ruby build is a command line utility that makes it easy to install virtually any version of ruby from source.
If you have an existing installation you will need to update them first.