I'm trying to follow the instructions listed here for updating Homebrew. Part of the instructions says:
Simply type in the following: cd $(brew –repository) && git commit -a -m ‘new ruby version 2.0′
How do I find where my brew repository is?
Homebrew's repository is usually in /usr/local. I think the trouble you're having comes from copying and pasting the text directly from that blog -- it's supposed to be
cd $(brew --repository) && git commit -a -m 'new ruby version 2.0'
but the blog engine "helpfully" replaced -- with –, an n dash. (I would have expected it to make it an m dash, but that's beside the point.)
Type that line in verbatim and you should be fine. Or you could replace the $(brew --repository) part with /usr/local if you installed Homebrew in the default way.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With