Reputation: 429
There are no instructions that I can find on the mongodb website on how to install 2.2 when you already have 2.0 using brew. I can see versions using "brew versions mongodb" but when I try to install one it says "mongodb does not have a version "2.2.0-x86_64" in the Cellar."
The versions command shows:
new-host-4:~ scott$ brew versions mongodb
2.2.0-x86_64 git checkout 34fb67d /usr/local/Library/Formula/mongodb.rb
2.0.7-x86_64 git checkout 6434ebb /usr/local/Library/Formula/mongodb.rb
2.0.6-x86_64 git checkout 2553479 /usr/local/Library/Formula/mongodb.rb
...
I know it's only a few lines of magic but I don't know the proper incantation.
Upvotes: 5
Views: 3547
Reputation: 709
All I had to do was the following...
$ brew update
$ brew upgrade mongodb
Upvotes: 17